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

"post" section at the stage level vs global pipeline status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline
    • None

      "post" section at the "stage" level executes based on "global" pipeline status and not a stage "status".

      The code below (in pastebin) prints "Unstable" 3 times. 

      But according to the documentation "These condition blocks allow the execution of steps inside each condition depending on the completion status of the Pipeline or stage."

      As I understand "post" at every stage should be independent and not related to "global" pipeline status . 

            Unassigned Unassigned
            vvatlin Vadim Vatlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: