`currentBuild.result` is not set to `ABORTED` when the build was aborted

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

XMLWordPrintable

      Right now when the build is aborted using the `pipeline-input-step` plugin in a declarative pipeline, the build result is set to `FAILURE` instead of `ABORTED` in the post section. However, the actual result is properly set to `ABORTED` afterwards. This makes it impossible to do conditional code in the post section.

            Assignee:
            Andrew Bayer
            Reporter:
            Roch Devost
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: