DEBUG: Display commit message to verify missing Change-Id: string
Change-Id: I7be78c3f7f1bd06fcbb40ddc46c546ec38e94da9
diff --git a/jjb/pipeline/onos-app-release.groovy b/jjb/pipeline/onos-app-release.groovy
index 0c2c48a..5ae2ab6 100644
--- a/jjb/pipeline/onos-app-release.groovy
+++ b/jjb/pipeline/onos-app-release.groovy
@@ -184,9 +184,16 @@
changeApiVersion(appName, apiSnapshot)
}
- git_debug("Move to next SNAPSHOT version")
+ git_debug("Move to next SNAPSHOT version")
sh 'git add -A && git commit -m "Starting snapshot ' + snapshot + ' with API version ' + apiSnapshot + '"'
+
+ println("\nSnapshot commit message: branch=HEAD")
+ sh """git log -1 --pretty=format:'%b' HEAD"""
+
+ println("\nSnapshot commit message: branch=" + branch)
+ sh """git log -1 --pretty=format:'%b' """ + branch
+
sshagent (credentials: ['gerrit-jenkins-user']) {
sh 'git push origin HEAD:refs/for/' + branch
}
@@ -198,3 +205,5 @@
sh 'echo "Go to http://oss.sonatype.org and release the artifacts (after the maven-publish job completes)"'
}
}
+
+// [EOF]