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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      "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 . 

            Assignee:
            Unassigned
            Reporter:
            Vadim Vatlin
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: