13 lines
182 B
Groovy
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
|