File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ pipeline {
255255 " -Dartifactory.username=${ ARTIFACTORY_USR} " +
256256 " -Dartifactory.password=${ ARTIFACTORY_PSW} " +
257257 " -Dartifactory.distribution-repository=temp-private-local " +
258- ' -Dmaven.test.skip=true -Dmaven.deploy.skip=true deploy -B'
258+ ' -Duser.name=spring-builds+jenkins - Dmaven.test.skip=true -Dmaven.deploy.skip=true deploy -B'
259259 }
260260 }
261261 }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export GRADLE_ENTERPRISE_CACHE_PASSWORD=${GRADLE_ENTERPRISE_CACHE_PSW}
99
1010echo ' Deploying to Artifactory...'
1111
12- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
12+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
1313 -s settings.xml \
1414 -Pdistribute,${RELEASE_TYPE} \
1515 -Dmaven.test.skip=true \
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export GNUPGHOME
1616mkdir $GNUPGHOME
1717cp $KEYRING $GNUPGHOME
1818
19- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
19+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
2020 -s settings.xml \
2121 -Pdistribute,central \
2222 -Dmaven.test.skip=true \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ STAGING_PROFILE_ID=$1
66
77echo ' Closing remote repository on Maven Central...'
88
9- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
9+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
1010 -s settings.xml \
1111 -Pcentral \
1212 -DstagingRepositoryId=${STAGING_PROFILE_ID} \
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44
55echo " Opening a remote repository for this release..."
66
7- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
7+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
88 -s settings.xml \
99 -Pcentral \
1010 -DstagingProfileId=${STAGING_PROFILE_ID} \
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ STAGING_REPOSITORY_ID=$1
66
77echo ' Release to Maven central...'
88
9- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
9+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
1010 -s settings.xml \
1111 -Pcentral \
1212 -DstagingRepositoryId=" ${STAGING_REPOSITORY_ID} " \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ echo 'Smoke test against Artifactory...'
88
99cd smoke-tests
1010
11- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
11+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
1212 -Partifactory \
1313 -Dspring-ws.version=" ${PROJECT_VERSION} " \
1414 clean dependency:purge-local-repository verify -B -U
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo 'Smoke test against Maven Central...'
99
1010cd smoke-tests
1111
12- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
12+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
1313 -Pmaven-central \
1414 -DstagingRepositoryId=" ${STAGING_REPOSITORY_ID} " \
1515 -Dspring-ws.version=" ${PROJECT_VERSION} " \
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ set -euo pipefail
55export GRADLE_ENTERPRISE_CACHE_USERNAME=${GRADLE_ENTERPRISE_CACHE_USR}
66export GRADLE_ENTERPRISE_CACHE_PASSWORD=${GRADLE_ENTERPRISE_CACHE_PSW}
77
8- MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
8+ MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" \
99 ./mvnw -s settings.xml \
1010 -P${PROFILE} clean dependency:list test -Dsort -B -U
Original file line number Diff line number Diff line change 22
33set -euo pipefail
44
5- VERSION=` MAVEN_OPTS=" -Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
5+ VERSION=` MAVEN_OPTS=" -Duser.name=spring-builds+ jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
66 org.apache.maven.plugins:maven-help-plugin:3.4.0:evaluate \
77 -Dexpression=project.version -q -DforceStdout | tail -1`
88
You can’t perform that action at this time.
0 commit comments