It would be really nice to support some steps in case a stage is skipped due to the when block. I understand the motivation in JENKINS-47577 not executing some post block for this. However, without some support for this, one cannot send an e-mail when a stage is skipped or inform other tools about this, that monitor pipelines for example.

      In my case this would render the really nice descriptive pipelines rather useless and I would have to stick to the scripted pipelines which results in a lot more code.

          [JENKINS-49944] support some handling for skipped stages

          Andreas Klemp created issue -
          Andreas Klemp made changes -
          Link New: This issue relates to JENKINS-47577 [ JENKINS-47577 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-model-definition-plugin [ 21706 ]
          Component/s Original: pipeline [ 21692 ]
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Assignee Original: Andrew Bayer [ abayer ]

            Unassigned Unassigned
            aklemp Andreas Klemp
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: