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

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

    Details

    • Similar Issues:

      Description

      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.

       

        Attachments

          Issue Links

            Activity

            Show
            abayer Andrew Bayer added a comment - Docs PR up at https://github.com/jenkins-infra/jenkins.io/pull/1052
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            content/doc/book/pipeline/syntax.adoc
            http://jenkins-ci.org/commit/jenkins.io/e5e9bc14ef21fee8928a827d7a7c01c17ee4e027
            Log:
            [FIXED JENKINS-45646] Add docs on post aborted.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: content/doc/book/pipeline/syntax.adoc http://jenkins-ci.org/commit/jenkins.io/e5e9bc14ef21fee8928a827d7a7c01c17ee4e027 Log: [FIXED JENKINS-45646] Add docs on post aborted.
            Hide
            cb_tes_global Constantin Bugneac added a comment -

            Andrew Bayer Thanks.

            Show
            cb_tes_global Constantin Bugneac added a comment - Andrew Bayer Thanks.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                cb_tes_global Constantin Bugneac
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: