Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
Hello,
According to the documentation I should be able to do the following:
def ret = input(message: 'some message', submitterParameter: 'username_approval')
println(ret['username_approval'])
However I only receive a null object instead of the expected map.
Regards,
Attachments
Issue Links
- is blocking
-
JENKINS-31396 Access to submitter ID from return value of input step
-
- Resolved
-
- is duplicated by
-
JENKINS-42897 input step can return a null when approved via link in console output
-
- Resolved
-
- links to
To add more information, I am seeing this same issue. I am only able to access submitterParameter if I also include parameters. Using the workflow defined in the test test_submitter_parameter_no_submitter() I see the following behavior:
Pipeline:
Output:
Is there a different way to access the submitterParameter without including parameters?
Versions/Environment:
Jenkins 2.36 (rpm installed from the jenkins-ci repository)
Pipeline Input Step 2.5
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)