Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Migrate docs jobs to use lf-infra-publish"
[releng/builder.git]
/
jjb
/
opendaylight-infra-push-gerrit-patch.sh
diff --git
a/jjb/opendaylight-infra-push-gerrit-patch.sh
b/jjb/opendaylight-infra-push-gerrit-patch.sh
index 9d49887547e572786b2a1630f122963cde9303ab..9e0266ea96977eb38d1dee1d2fef3c9ad1dac91c 100644
(file)
--- a/
jjb/opendaylight-infra-push-gerrit-patch.sh
+++ b/
jjb/opendaylight-infra-push-gerrit-patch.sh
@@
-1,4
+1,9
@@
#!/bin/bash
#!/bin/bash
+
+# upgrade git-review to a version that will have the --reviewers option. existing minion
+# image has a version that does not have it.
+sudo pip install git-review --upgrade
+
# shellcheck disable=SC1083
CHANGE_ID=$(ssh -p 29418 "jenkins-$SILO@git.opendaylight.org" gerrit query \
limit:1 owner:self is:open project:{project} \
# shellcheck disable=SC1083
CHANGE_ID=$(ssh -p 29418 "jenkins-$SILO@git.opendaylight.org" gerrit query \
limit:1 owner:self is:open project:{project} \
@@
-19,4
+24,4
@@
git remote add gerrit "ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/bui
# Don't fail the build if this command fails because it's possible that there
# is no changes since last update.
# shellcheck disable=SC1083
# Don't fail the build if this command fails because it's possible that there
# is no changes since last update.
# shellcheck disable=SC1083
-git review --yes -t {gerrit-topic} || true
+git review --yes -t {gerrit-topic}
--reviewers jluhrsen@redhat.com
|| true