Fix Jenkinsfile
All checks were successful
EnergonRelics/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-08-07 17:51:16 -04:00
parent f68bb1d96d
commit ee4739474d

4
Jenkinsfile vendored
View File

@ -26,7 +26,9 @@ pipeline {
} }
stage('Publish') { stage('Publish') {
when { when {
buildingTag() expression {
return sh(returnStdout: true, script: 'git tag --contains').trim().length() > 0
}
} }
steps { steps {
sh './gradlew publish' sh './gradlew publish'