X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopendaylight-infra-push-gerrit-patch.sh;h=9e0266ea96977eb38d1dee1d2fef3c9ad1dac91c;hb=fc441b2b3f644271eef0b5f8807f6294b702ec9e;hp=9d49887547e572786b2a1630f122963cde9303ab;hpb=8aaa8e13b9d7faf730f9198fc97ef4366b0c6cf4;p=releng%2Fbuilder.git diff --git a/jjb/opendaylight-infra-push-gerrit-patch.sh b/jjb/opendaylight-infra-push-gerrit-patch.sh index 9d4988754..9e0266ea9 100644 --- a/jjb/opendaylight-infra-push-gerrit-patch.sh +++ b/jjb/opendaylight-infra-push-gerrit-patch.sh @@ -1,4 +1,9 @@ #!/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} \ @@ -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 -git review --yes -t {gerrit-topic} || true +git review --yes -t {gerrit-topic} --reviewers jluhrsen@redhat.com || true