Skip to content

Commit

Permalink
Fixed Issue JENKINS-34175
Browse files Browse the repository at this point in the history
vRO needs empty payload for no input workflow. Added that now.
  • Loading branch information
agovindaraju committed Apr 18, 2016
1 parent 5ed41e0 commit 0b067fb
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -131,6 +131,9 @@ public String executeWorkflow()
.format(WORKFLOW_EXECUTION_SERVICE, buildParam.getServerUrl(), getEncodedString(
buildParam.getWorkflowName()));
String payLoad = constructRequestPayload(buildParam.getInputParams());
if (StringUtils.isBlank(payLoad)) {
payLoad = "{}";
}
System.out.println("Execute Payload : " + payLoad);
return restClient.httpPostForLocationHeader(requestUrl, payLoad);
}
Expand Down

0 comments on commit 0b067fb

Please sign in to comment.