This commit is contained in:
parent
f68bb1d96d
commit
ee4739474d
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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'
|
||||||
|
Reference in New Issue
Block a user