Check for changes occurring

This commit is contained in:
Dan Hawkins 2018-11-30 16:15:58 +00:00
commit e82f6be420

View file

@ -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}),")