Set gitreview username and setup remote gerrit 25/75025/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Aug 2018 17:29:50 +0000 (13:29 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Aug 2018 17:29:52 +0000 (13:29 -0400)
Explicitly set the gitreview username to be the jenkins-releng
account. Then configure the remote gerrit alias to point to
ODL Gerrit.

Change-Id: Id0b68aa2bb94ded57ec357821657b96848dc5ccd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/branch-cut.sh

index 3ae2d2a58c90c39639f7d963f2673eca676063de..fd0055f6a475823f116a5743bb3d5901bda21b34 100644 (file)
@@ -34,6 +34,10 @@ if [ -z "$RELEASE" ]; then
     exit 1
 fi
 
+git config gitreview.username jenkins-releng
+git submodule foreach git review -s
+git review -s
+
 # --- Start create new maintenance branch
 echo "---> Creating new mainenance branch"
 git submodule foreach git fetch origin