Skip to content

Commit

Permalink
replace jenkins timeout with shell
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Sep 18, 2023
1 parent 8398439 commit f26e336
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,8 @@ pipeline {
}
steps {
retry(3) {
timeout(time: 10, unit: 'MINUTES') {
sh script: 'docker login -u amazeeiojenkins -p $PASSWORD', label: "Docker login"
sh script: "make -O publish-testlagoon-images PUBLISH_PLATFORM_ARCH=linux/arm64,linux/amd64 BRANCH_NAME=${SAFEBRANCH_NAME}", label: "Publishing built images"
}
sh script: 'docker login -u amazeeiojenkins -p $PASSWORD', label: "Docker login"
sh script: "timeout 12m make -O publish-testlagoon-images PUBLISH_PLATFORM_ARCH=linux/arm64,linux/amd64 BRANCH_NAME=${SAFEBRANCH_NAME}", label: "Publishing built images"
}
}
}
Expand Down

0 comments on commit f26e336

Please sign in to comment.