More Jenkins changes

This commit is contained in:
Adubbz 2021-04-24 09:54:36 +10:00
parent 72d3ea9c8e
commit d94e32ee3c

2
Jenkinsfile vendored
View file

@ -24,7 +24,7 @@ pipeline {
stage('setup') { stage('setup') {
steps { steps {
withGradle { withGradle {
sh './gradlew ${GRADLE_ARGS} --refresh-dependencies --continue setup' sh './gradlew ${GRADLE_ARGS} --refresh-dependencies'
} }
script { script {
env.MYVERSION = sh(returnStdout: true, script: './gradlew :properties -q | grep "^version:" | awk \'{print $2}\'').trim() env.MYVERSION = sh(returnStdout: true, script: './gradlew :properties -q | grep "^version:" | awk \'{print $2}\'').trim()