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

Add a way to distinguish workflow input steps approvals shown on the build page

XMLWordPrintable

      The following workflow code asks the user for 2 approvals:

      parallel (
        A: {
          input id: 'A', message: "Run A"
          node('remote') {
            println("Running A")
          }
        },
        B: {
          input id: 'B', message: "Run B"
          node('remote') {
            println("Running B")
          }
        }
      )
      

      After a user approves both, they are undistinguishable on the Build page, as they say the same thing: "This was approved by user ...". See attached for a picture. This becomes even more useful when one of the input steps is aborted (in fact it would be also useful to see which steps are aborted and by who, without having to look at the console log).

      I would like to be able to distinguish each approval. Using the ID and the message seems appropriate.

            jglick Jesse Glick
            deepchip Martin d'Anjou
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: