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

input step can return a null when approved via link in console output

    XMLWordPrintable

Details

    Description

      We have code similar to:

      String inputParams = input([message: "Continue with apply?",
                                  submitter: "foo,bar",
                                  submitterParameter: "approver"])
       

      This all works as expected when the Approve button is clicked in the standard main project page. However, when the link that shows up in the unified Console Output is used to approve the build, inputParams becomes a null value.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

            Sounds the same as JENKINS-40594 except you claim it sometimes works, whereas I think the original issue is that it never works.

            jglick Jesse Glick added a comment - Sounds the same as  JENKINS-40594 except you claim it sometimes works, whereas I think the original issue is that it never works.

            Yes, looking at the linked issue and its PR, I think this is basically a dup. I can't close the ticket currently because it looks like JIRA is having issues.

            elatt Erik Lattimore added a comment - Yes, looking at the linked issue and its PR, I think this is basically a dup. I can't close the ticket currently because it looks like JIRA is having issues.
            jglick Jesse Glick added a comment -

            OK, thanks for confirmation.

            jglick Jesse Glick added a comment - OK, thanks for confirmation.

            People

              Unassigned Unassigned
              elatt Erik Lattimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: