]> source.dussan.org Git - archiva.git/commitdiff
setup retry count for deploy
authorOlivier Lamy <olamy@apache.org>
Mon, 9 May 2022 06:03:24 +0000 (16:03 +1000)
committerOlivier Lamy <olamy@apache.org>
Mon, 9 May 2022 06:03:24 +0000 (16:03 +1000)
Signed-off-by: Olivier Lamy <olamy@apache.org>
Jenkinsfile

index c2176f4ee665892b0e0e26c15f671e50a5a1d1f1..4362c8e290e3a9777593647adfc9a4f86b62abde 100644 (file)
@@ -74,7 +74,7 @@ pipeline {
                                 // -Pci-build: Profile for CI-Server
                                 script {
                                     if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'archiva-2.x') {
-                                        sh "mvn clean deploy -B -U -e -fae -T2 -Pci-build"
+                                        sh "mvn clean deploy -B -U -e -fae -T2 -Pci-build -DretryFailedDeploymentCount=5"
                                     } else {
                                         sh "mvn clean install -B -U -e -fae -T2 -Pci-build"
                                     }