Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JENKINS-40594
submitterParameter does not work without at least one actual parameter
  • Loading branch information
tangkun75 committed Apr 24, 2017
1 parent 1031ad8 commit db8641f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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()),
Expand Down

0 comments on commit db8641f

Please sign in to comment.