Skip to content

Commit

Permalink
ci: retry building upto 3 times on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Nov 30, 2023
1 parent 349eed5 commit 4084e92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/jenkins/scripts/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def buildPkg(args = [:]){
}
}
def retries = args['retries'] ? args['retries'] : 1
retry(retries){
def agentRunner = getAgent(args, dockerImageName)
agentRunner {
setup()
Expand Down

0 comments on commit 4084e92

Please sign in to comment.