Skip to content
Permalink
Browse files
JENKINS-40594
submitterParameter does not work without at least one actual parameter
  • Loading branch information
tangkun75 committed Apr 24, 2017
1 parent 1031ad8 commit db8641f197b171e5ca94190ceb43e43f3103ea83
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java
@@ -71,7 +71,7 @@ public boolean start() throws Exception {
node.addAction(new PauseAction("Input"));

String baseUrl = '/' + run.getUrl() + getPauseAction().getUrlName() + '/';
if (input.getParameters().isEmpty()) {
if (input.getParameters().isEmpty() && (input.getSubmitterParameter() == null || input.getSubmitterParameter().isEmpty())) {
String thisUrl = baseUrl + Util.rawEncode(getId()) + '/';
listener.getLogger().printf("%s%n%s or %s%n", input.getMessage(),
POSTHyperlinkNote.encodeTo(thisUrl + "proceedEmpty", input.getOk()),

0 comments on commit db8641f

Please sign in to comment.