Distinguish src and release repo pushes

This commit is contained in:
Dan Hawkins 2018-12-02 17:04:33 +00:00
commit 299f74fb85

View file

@ -245,12 +245,12 @@ def releasegitpush(String dryrunpush ) {
def sourcegitpush(String dryrunpush ) {
if (dryrunpush == "true") {
sh("git push -n --tags")
summaryappend(",Dry-Run-Push")
summaryappend(",Src-Dry-Run-Push")
setunstable("The source tag(s) have not been pushed/saved (\"Dry run push\" parameter/option is selected)")
}
else {
sh("git push --tags")
summaryappend(",Push")
summaryappend(",Src Push")
}
}