jenkins-scripts/groovy/tag.groovy
Primakov Alexandr Alexandrovich 4e2424e2e0 groovy test
2024-08-05 18:27:03 +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