You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2021/05/04 15:37:52 UTC
[shiro] 03/03: Using separate maven local repo for Jenkins builds
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch 1.8-build-issues
in repository https://gitbox.apache.org/repos/asf/shiro.git
commit 7877c37f08bc9f7beaf732d4bce479cf4c4bc884
Author: Brian Demers <bd...@apache.org>
AuthorDate: Tue May 4 10:32:23 2021 -0400
Using separate maven local repo for Jenkins builds
Moving apache-rat to a different execution to avoid needing to setup another ignore list (i.e. .repository)
---
Jenkinsfile | 3 ++-
Jenkinsfile-jdk11 | 3 ++-
Jenkinsfile-jdk14 | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 8474dd7..cf7ac84 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,7 +72,8 @@ pipeline {
stage('Build') {
steps {
echo 'Building'
- sh 'mvn -U -B -e clean install -DskipTests apache-rat:check'
+ sh 'mvn -U -B -e apache-rat:check'
+ sh 'mvn -U -B -e ${MVN_LOCAL_REPO_OPT} clean install -DskipTests'
}
}
diff --git a/Jenkinsfile-jdk11 b/Jenkinsfile-jdk11
index a996166..f4f1552 100644
--- a/Jenkinsfile-jdk11
+++ b/Jenkinsfile-jdk11
@@ -72,7 +72,8 @@ pipeline {
stage('Build') {
steps {
echo 'Building'
- sh 'mvn -U -B -e clean install -DskipTests apache-rat:check'
+ sh 'mvn -U -B -e apache-rat:check'
+ sh 'mvn -U -B -e ${MVN_LOCAL_REPO_OPT} clean install -DskipTests'
}
}
diff --git a/Jenkinsfile-jdk14 b/Jenkinsfile-jdk14
index 1f5531c..30f7a43 100644
--- a/Jenkinsfile-jdk14
+++ b/Jenkinsfile-jdk14
@@ -72,7 +72,8 @@ pipeline {
stage('Build') {
steps {
echo 'Building'
- sh 'mvn -U -B -e clean install -DskipTests apache-rat:check'
+ sh 'mvn -U -B -e apache-rat:check'
+ sh 'mvn -U -B -e ${MVN_LOCAL_REPO_OPT} clean install -DskipTests'
}
}