Skip to content

Commit

Permalink
#968 syntax fix
Browse files Browse the repository at this point in the history
FRESH-1372 #968 Include webui in the normal rollout process
  • Loading branch information
metas-ts committed Feb 23, 2017
1 parent 613e72b commit c9ef531
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ stage('Invoke downstream jobs')

echo "jsonPayload=${jsonPayload}";

final jsonPayload = "{ \"MF_UPSTREAM_BUILDNO\":\"${MF_BUILD_ID}\", \"MF_UPSTREAM_BRANCH\":\"${MF_UPSTREAM_BRANCH}\", \"MF_METASFRESH_VERSION\":\"${BUILD_VERSION}\" }";
// this one-lined version from master works
//final jsonPayload = "{ \"MF_UPSTREAM_BUILDNO\":\"${MF_BUILD_ID}\", \"MF_UPSTREAM_BRANCH\":\"${MF_UPSTREAM_BRANCH}\", \"MF_METASFRESH_VERSION\":\"${BUILD_VERSION}\" }";

sh "curl -X POST -d \'${jsonPayload}\' ${webhookUrl}";
}
Expand Down

0 comments on commit c9ef531

Please sign in to comment.