Check for changes occurring
This commit is contained in:
parent
75855fd9fb
commit
5926f63c7b
1 changed files with 5 additions and 0 deletions
|
|
@ -129,6 +129,11 @@ def ArrayList<String> maketaglist(String buildstamp, String otherreleasetags) {
|
|||
}
|
||||
|
||||
def boolean releasegittag(String postcommitshacode, String tag) {
|
||||
// Check if tag exists already
|
||||
def retvalue = sh(script: "git rev-parse ${tag} >2 /dev/null", returnStdout: true, returnStatus: true)
|
||||
echo "retvalue: ${retvalue} class: ${retvalue.getClass()}"
|
||||
|
||||
|
||||
// Tag
|
||||
sh("git tag ${tag}")
|
||||
summaryappend("(${tag}),")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue