Browse Source

DATAJDBC-442 - Run Docker on Jenkins with m2 home mount.

pull/187/head
Mark Paluch 6 years ago
parent
commit
868194e4af
No known key found for this signature in database
GPG Key ID: 51A00FA751B91849
  1. 6
      Jenkinsfile

6
Jenkinsfile vendored

@ -30,7 +30,9 @@ pipeline { @@ -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 { @@ -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 { @@ -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 .'
}
}
}

Loading…
Cancel
Save