Browse Source

adjust Jenkinsfile

pr-readme
Steffen Nitschke 4 years ago
parent
commit
96bf9b5396
  1. 2
      Jenkinsfile

2
Jenkinsfile

@ -16,7 +16,6 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
sh "./gradlew -Pversion='${REVISION}' testClasses" sh "./gradlew -Pversion='${REVISION}' testClasses"
}
script { script {
def commitId = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim() def commitId = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim()
@ -25,6 +24,7 @@ pipeline {
REVISION = "${env.BRANCH_NAME}-${commitDate}.${commitId}" REVISION = "${env.BRANCH_NAME}-${commitDate}.${commitId}"
} }
} }
}
stage('Test') { stage('Test') {
steps { steps {

Loading…
Cancel
Save