From 75bb6fe2a8f78832453e672c65d9804d942e4a07 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Tue, 17 Oct 2023 10:02:17 +0200 Subject: [PATCH] Set user for CI build in order to get a nice gravatar. Closes #1645 See spring-projects/spring-data-jpa@f52aa75 See spring-projects/spring-data-jpa#3142 --- Jenkinsfile | 2 +- ci/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index bd01bf7684..cc8529aaf4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -102,7 +102,7 @@ pipeline { steps { script { docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { - sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ' + + sh 'MAVEN_OPTS="-Duser.name=spring-builds+jenkins -Duser.home=/tmp/jenkins-home" ' + 'GRADLE_ENTERPRISE_CACHE_USERNAME=${GRADLE_ENTERPRISE_CACHE_USR} ' + 'GRADLE_ENTERPRISE_CACHE_PASSWORD=${GRADLE_ENTERPRISE_CACHE_PSW} ' + 'GRADLE_ENTERPRISE_ACCESS_KEY=${GRADLE_ENTERPRISE_ACCESS_KEY} ' + diff --git a/ci/test.sh b/ci/test.sh index f645034cab..b8c9561a26 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -10,6 +10,6 @@ cp spring-data-relational/src/test/java/org/springframework/data/ProxyImageNameS mkdir -p /tmp/jenkins-home chown -R 1001:1001 . -MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \ +MAVEN_OPTS="-Duser.name=spring-builds+jenkins -Duser.home=/tmp/jenkins-home" \ ./mvnw -s settings.xml \ -P${PROFILE} clean dependency:list verify -Dsort -U -B -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-jdbc