groovy scripts
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
String tag = ''
|
||||
|
||||
def calcTag() {
|
||||
tag = sh(returnStdout: true, script: "git tag --contains").trim()
|
||||
return tag
|
||||
}
|
||||
|
||||
def getTagNoV() {
|
||||
return tag.substring(1)
|
||||
}
|
||||
|
||||
return this
|
||||
Reference in New Issue
Block a user