mirror of https://github.com/apache/iotdb
Feat/jenkins auto redeploy (#12542)
This commit is contained in:
parent
81382d71c0
commit
9f61a4e2ac
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue