Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Currently the input step records the submitter ID in ApproverAction but does not make this information available to the script. There should be an option to include a map entry with key submitter in the return value of the step. (Cannot be enabled by default for compatibility reasons.)
Attachments
Issue Links
- depends on
-
JENKINS-40594 submitterParameter does not work without at least one actual parameter
-
- Resolved
-
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStep.java
src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
src/main/resources/org/jenkinsci/plugins/workflow/support/steps/input/InputStep/config.jelly
src/main/resources/org/jenkinsci/plugins/workflow/support/steps/input/InputStep/help-submitterParameter.html
src/test/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepTest.java
http://jenkins-ci.org/commit/pipeline-input-step-plugin/100612542fc3356f72b898b8220e67c4818a9703
Log:
Merge pull request #8 from jenkinsci/submitter-variable
[FIXED JENKINS-31396] Add the submitterParameter property
Compare: https://github.com/jenkinsci/pipeline-input-step-plugin/compare/2a413ef71dab...100612542fc3