diff --git a/Jenkinsfile b/Jenkinsfile index 6956240ae..95554dd87 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,7 +30,9 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } steps { sh 'mkdir -p /tmp/jenkins-home' + sh 'chown -R 1001:1001 .' sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,all-dbs clean dependency:list test -Dsort -U -B' + sh 'chown -R 1001:1001 .' } } @@ -54,7 +56,9 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } steps { sh 'mkdir -p /tmp/jenkins-home' + sh 'chown -R 1001:1001 .' sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,all-dbs,java11 clean dependency:list test -Dsort -U -B' + sh 'chown -R 1001:1001 .' } } @@ -70,7 +74,9 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } steps { sh 'mkdir -p /tmp/jenkins-home' + sh 'chown -R 1001:1001 .' sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,all-dbs,java11 clean dependency:list test -Dsort -U -B' + sh 'chown -R 1001:1001 .' } } }