Feat/jenkins auto redeploy (#12542)

This commit is contained in:
Christofer Dutz 2024-05-20 03:31:58 +02:00 committed by GitHub
parent 81382d71c0
commit 9f61a4e2ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -169,7 +169,7 @@ pipeline {
steps {
echo 'Deploying'
// Deploy the artifacts using the wagon-maven-plugin.
sh 'mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload -P get-jar-with-dependencies'
sh 'until mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload || (( count++ >= 5 )); do echo "Retrying to deploy"; done'
}
}