groovy scripts

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-08-05 18:04:29 +03:00
parent 9bccd1f0a1
commit 9cc5f2734b
3 changed files with 69 additions and 12 deletions
+12
View File
@@ -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