jenkins-scripts/groovy/tag.groovy

13 lines
182 B
Groovy
Raw Normal View History

2024-08-05 18:04:29 +03:00
String tag = ''
def calcTag() {
tag = sh(returnStdout: true, script: "git tag --contains").trim()
return tag
}
def getTagNoV() {
return tag.substring(1)
}
return this