jenkins-scripts/groovy/tag.groovy
Primakov Alexandr Alexandrovich e92f645eb9 groovy test
2024-08-05 18:19:58 +03:00

13 lines
182 B
Groovy

String tag = ''
def calcTag() {
tag = sh(returnStdout: true, script: "git tag --contains").trim()
return tag
}
def getTagNoV() {
return tag.substring(1)
}
return this