Skip to content

Commit

Permalink
Wait for Jenkins to become available during upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
samrocketman committed Sep 13, 2018
1 parent a303df9 commit 431ddee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/upgrade/upgrade_build_gradle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ fi
export JENKINS_HEADERS_FILE=$(mktemp)
source "${SCRIPT_LIBRARY_PATH}"/upgrade/env.sh

#wait for jenkins to become available
"${SCRIPT_LIBRARY_PATH}"/provision_jenkins.sh url-ready "${JENKINS_WEB}/jnlpJars/jenkins-cli.jar"

#upgrade jenkins.war and all plugins
if [ -z "${NO_UPGRADE}" ]; then
"${SCRIPT_LIBRARY_PATH}"/jenkins-call-url "${SCRIPT_LIBRARY_PATH}"/upgrade/upgradeJenkinsAndPlugins.groovy || (
Expand Down

0 comments on commit 431ddee

Please sign in to comment.