We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 782172d commit e898591Copy full SHA for e898591
jobs/bootimagebump.Jenkinsfile
@@ -62,7 +62,10 @@ node {
62
cd installer
63
git remote -v
64
git remote add upstream https://github.com/openshift/installer.git
65
- git fetch upstream release-${RELEASE_BRANCH} --timeout=300
+ retries=3
66
+ for i in \$(seq 1 \$retries); do
67
+ echo "Attempt \$i of \$retries to fetch upstream/${RELEASE_BRANCH}"
68
+ git fetch upstream ${RELEASE_BRANCH} && break || sleep 10
69
git checkout -b ${PR_BRANCH} upstream/${RELEASE_BRANCH}
70
71
""")
0 commit comments