Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-45646

Update Declarative Pipeline docs (add 'aborted' post-condition in post section)

XMLWordPrintable

      The documentation available here https://jenkins.io/doc/book/pipeline/syntax/#post

      doesn't mention the "aborted" post-condition action for post section but based on source code here https://github.com/jenkinsci/pipeline-model-definition-plugin/tree/a1963cdf49d71f1d81e6b668122138a0e4c90d99/pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/model/conditions

      it's available for use (in case there is a need to do something when the job has been aborted for some reason).

       

      Please could someone who has permissions update the docs ?

      PS: Now it looks incomplete.

       

            abayer Andrew Bayer
            cb_tes_global Constantin Bugneac
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: