This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch archiva-2.x
in repository https://gitbox.apache.org/repos/asf/archiva.git
The following commit(s) were added to refs/heads/archiva-2.x by this push:
new ae6349157 setup retry count for deploy
ae6349157 is described below
commit ae63491574cc384f435628bc613645b7661af05a
Author: Olivier Lamy <[email protected]>
AuthorDate: Mon May 9 16:03:24 2022 +1000
setup retry count for deploy
Signed-off-by: Olivier Lamy <[email protected]>
---
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"
}