This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new ff3e770 Use local repository on Jenkins
new add1667 Merge pull request #717 from jbonofre/JENKINS
ff3e770 is described below
commit ff3e7701417a8c134217d75151fdf8dde91f73bd
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Tue Sep 28 17:52:38 2021 +0200
Use local repository on Jenkins
---
Jenkinsfile | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 41bfb86..3f7f1fb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,12 +27,6 @@ pipeline {
}
}
- environment {
- // ... setup any environment variables ...
- MVN_LOCAL_REPO_OPT = '-Dmaven.repo.local=.repository'
- MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
- }
-
tools {
// ... tell Jenkins what java version, maven version or other tools
are required ...
maven 'maven_3_latest'
@@ -43,8 +37,8 @@ pipeline {
// Configure an overall timeout for the build of ten hours.
timeout(time: 10, unit: 'HOURS')
// When we have test-fails e.g. we don't need to run the remaining
steps
- skipStagesAfterUnstable()
buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr:
'5'))
+ disableConcurrentBuilds()
}
stages {