Skip to content

Commit

Permalink
.travis
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Apr 22, 2019
1 parent ae59dc6 commit b13b4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ elif [ "${1}" == "deploy" ]; then
[ "$?" != "0" ] && echo Failed to tag and push jnlp latest image && exit 1
fi
if [ "${TRAVIS_TAG}" != "" ]; then
DEPLOY_JNLP_IMAGE="viderum/ckan-cloud-operator:jnlp-${TAG}"
export DEPLOY_JNLP_IMAGE="viderum/ckan-cloud-operator:jnlp-${TAG}"
echo "Running Jenkins deploy jnlp job (JNLP_IMAGE=${DEPLOY_JNLP_IMAGE})"
STATUS_CODE=$(curl -X POST "${JENKINS_JNLP_DEPLOY_URL}" --user "${JENKINS_USER}:${JENKINS_TOKEN}" \
--data-urlencode json='{"parameter":[{"name":"JNLP_IMAGE","value":"'${DEPLOY_JNLP_IMAGE}'"}]}' -s -o /dev/stderr -w "%{http_code}")
Expand Down

0 comments on commit b13b4aa

Please sign in to comment.