You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/05/30 09:01:14 UTC
[uima-build-jenkins-shared-library] branch main updated: [UIMA-6464] Use local Maven repository for Jenkins builds
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/uima-build-jenkins-shared-library.git
The following commit(s) were added to refs/heads/main by this push:
new 9a248dc [UIMA-6464] Use local Maven repository for Jenkins builds
9a248dc is described below
commit 9a248dc2adc9d81ba8ddf272babb83f624c9560c
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon May 30 11:01:10 2022 +0200
[UIMA-6464] Use local Maven repository for Jenkins builds
- Set local repo to `.repository`
---
vars/defaultPipeline.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vars/defaultPipeline.groovy b/vars/defaultPipeline.groovy
index 5324df1..8d77305 100644
--- a/vars/defaultPipeline.groovy
+++ b/vars/defaultPipeline.groovy
@@ -102,7 +102,7 @@ def call(body) {
': ' + env.CHANGE_BRANCH + '</a> (' + env.CHANGE_AUTHOR_DISPLAY_NAME + ')'
}
- withMaven(maven: config.maven, jdk: config.jdk) {
+ withMaven(maven: config.maven, jdk: config.jdk, mavenLocalRepo: "$WORKSPACE/.repository") {
script {
def mavenCommand = 'mvn ' +
params.extraMavenArguments +
@@ -133,7 +133,7 @@ def call(body) {
when { branch pattern: "main|main-v2", comparator: "REGEXP" }
steps {
- withMaven(maven: config.maven, jdk: config.jdk) {
+ withMaven(maven: config.maven, jdk: config.jdk, mavenLocalRepo: "$WORKSPACE/.repository") {
script {
def finalStep = PLATFORM == "ubuntu" ? "deploy" : "verify"