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

Unique exception for input step abort

    Details

    • Similar Issues:

      Description

      When using input in conjunction with milestone it is impossible to detect the difference between the user choosing to "abort" (e.g. say "no" to the prompt) and the build being abandoned because it was superseded. Both cases throw FlowInterruptedException

      This makes it impossible to take meaningful actions upon the user choosing to abort that you would not want to take if the input goes un-answered.

      One possible solution would be for the input-invoked Abort to throw a unique exception type which extends FlowInterruptedException.

        Attachments

          Issue Links

            Activity

            crussell52 Chris Russell created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Remote Link This issue links to "workflow-step-api PR #32 (Web Link)" [ 19777 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                crussell52 Chris Russell
              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: