Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-45646] Add docs on post aborted.
  • Loading branch information
abayer committed Aug 3, 2017
1 parent 8ceca0f commit e5e9bc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/doc/book/pipeline/syntax.adoc
Expand Up @@ -230,7 +230,7 @@ from the previous stage.
The `post` section defines actions which will be run at the end of the Pipeline
run or stage. A number of <<post-conditions, post-condition>>
blocks are supported within the `post` section:
`always`, `changed`, `failure`, `success`, and `unstable`.
`always`, `changed`, `failure`, `success`, `unstable`, and `aborted`.
These blocks allow for the execution of steps at the end of the Pipeline run or stage,
depending on the status of the Pipeline.

Expand Down Expand Up @@ -259,6 +259,9 @@ denoted in the web UI with a blue or green indication.
`unstable`:: Only run if the current Pipeline has an "unstable" status,
usually caused by test failures, code violations, etc. Typically denoted in the
web UI with a yellow indication.
`aborted`:: Only run if the current Pipeline has an "aborted" status, usually
due to the Pipeline being manually aborted. Typically denoted in the
web UI with a gray indication.

[[post-example]]
===== Example
Expand Down

0 comments on commit e5e9bc1

Please sign in to comment.