From ff3e7701417a8c134217d75151fdf8dde91f73bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Baptiste=20Onofr=C3=A9?= Date: Tue, 28 Sep 2021 17:52:38 +0200 Subject: [PATCH] Use local repository on Jenkins --- Jenkinsfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 41bfb86225..3f7f1fba93 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 {