From ae63491574cc384f435628bc613645b7661af05a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 9 May 2022 16:03:24 +1000 Subject: [PATCH] setup retry count for deploy Signed-off-by: Olivier Lamy --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c2176f4ee..4362c8e29 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } -- 2.39.5