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
Code changed in jenkins
User: Kun Tang
Path:
src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
src/test/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepTest.java
http://jenkins-ci.org/commit/pipeline-input-step-plugin/c31b370008145e91e8900db7264d3c6087f79ef7
Log:
Update a test and add @Issue annotation for
JENKINS-40594