Fix Jenkinsfile
EnergonRelics/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-08-07 17:51:16 -04:00
parent f68bb1d96d
commit ee4739474d
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

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