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

Unique exception for input step abort

    XMLWordPrintable

    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 ]
            dnusbaum Devin Nusbaum made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            dnusbaum Devin Nusbaum made changes -
            Status In Progress [ 3 ] Open [ 1 ]

              People

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

                Dates

                Created:
                Updated: