Skip to content

Commit

Permalink
CI: Jenkinsfile - clean up docker images created in packaging stage
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Dec 6, 2023
1 parent b2d4e53 commit 92c8a4f
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions ci/jenkins/scripts/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,16 @@ def buildPkg(args = [:]){
}
}
def retries = args['retries'] ? args['retries'] : 1
agentRunner{
getAgent(args) {
setup()
try{
buildCmd()
successful()
} catch(e){
failure()
throw e
} finally{
cleanup()
}
agentRunner {
setup()
try{
buildCmd()
successful()
} catch(e){
failure()
throw e
} finally{
cleanup()
}
}
}
Expand Down

0 comments on commit 92c8a4f

Please sign in to comment.