diff options
author | Olivier Lamy <olamy@apache.org> | 2022-05-09 16:03:24 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2022-05-09 16:03:24 +1000 |
commit | ae63491574cc384f435628bc613645b7661af05a (patch) | |
tree | d03842e2ca876e01e7daac143388ef1daa3743ef | |
parent | d068fb9c35763fea6994753577adff903ab407d9 (diff) | |
download | archiva-ae63491574cc384f435628bc613645b7661af05a.tar.gz archiva-ae63491574cc384f435628bc613645b7661af05a.zip |
setup retry count for deploy
Signed-off-by: Olivier Lamy <olamy@apache.org>
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
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" } |