File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ elif [ "${1}" == "deploy" ]; then
3434 if [ " ${TRAVIS_TAG} " != " " ]; then
3535 export DEPLOY_JNLP_IMAGE=" viderum/ckan-cloud-operator:jnlp-${TAG} "
3636 echo " Running Jenkins deploy jnlp job (JNLP_IMAGE=${DEPLOY_JNLP_IMAGE} )"
37- STATUS_CODE=$( curl -X POST " ${JENKINS_JNLP_DEPLOY_URL} " --user " ${JENKINS_USER} :${JENKINS_TOKEN} " \
38- --data-urlencode json=' {"parameter":[{"name":"JNLP_IMAGE","value":"' ${DEPLOY_JNLP_IMAGE} ' "}]}' -s -o /dev/stderr -w " %{http_code}" )
37+ STATUS_CODE=$( curl -X POST " ${JENKINS_JNLP_DEPLOY_URL} " --user " ${JENKINS_USER} :${JENKINS_TOKEN} " --data " JNLP_IMAGE=${DEPLOY_JNLP_IMAGE} " -s -o /dev/stderr -w " %{http_code}" )
3938 echo " jenkins jnlp deploy job status code: ${STATUS_CODE} "
4039 [ " ${STATUS_CODE} " != " 200" ] && [ " ${STATUS_CODE} " != " 201" ] && echo Deploy failed && exit 1
4140 fi
You can’t perform that action at this time.
0 commit comments