Merge "[CI] Add trigger to disable all demos"
diff --git a/src/com/mirantis/mk/Git.groovy b/src/com/mirantis/mk/Git.groovy
index 4c06288..17b0cf3 100644
--- a/src/com/mirantis/mk/Git.groovy
+++ b/src/com/mirantis/mk/Git.groovy
@@ -539,6 +539,7 @@
def amend = params.get('amend', false)
def jsonChange = params.get('gerritPatch', [:])
def changeId = params.get('changeId', '')
+ def remote = params.get('remote', 'origin')
def commit
if (!jsonChange) {
@@ -572,7 +573,7 @@
dir(repo){
commit = getGitCommit()
}
- pushForReview(repo, creds, commit, branch, topic)
+ pushForReview(repo, creds, commit, branch, topic, remote)
}
/**