Distinguish src and release repo pushes
This commit is contained in:
parent
5a60dddd9a
commit
299f74fb85
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue