Introduce property for Jenkins user and Artifactory server details.

Closes #1872
This commit is contained in:
Mark Paluch
2023-11-27 10:40:19 +01:00
parent 7c6974ed93
commit 89cba559a8
4 changed files with 19 additions and 13 deletions

View File

@@ -2,5 +2,7 @@
set -euo pipefail
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
export JENKINS_USER=${JENKINS_USER_NAME}
MAVEN_OPTS="-Duser.name=${JENKINS_USER} -Duser.home=/tmp/jenkins-home" \
./mvnw -s settings.xml clean -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-couchbase