X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fbranch-cut.sh;h=29e065ea3c3f76a86781d92e920e0609f531155b;hb=af61cf496faa8b8354eff1b58bcf4160cbfb4037;hp=6d74e78cf3b683e29244b9769e9cecae9d5fa7b7;hpb=0e6d6e8ce878656ccbbff3a5abf11273dba84df3;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/branch-cut.sh b/jjb/autorelease/branch-cut.sh index 6d74e78cf..29e065ea3 100644 --- a/jjb/autorelease/branch-cut.sh +++ b/jjb/autorelease/branch-cut.sh @@ -34,7 +34,9 @@ if [ -z "$RELEASE" ]; then exit 1 fi -git config gitreview.username jenkins-releng +# Setup Gerrit remote to ensure Change-Id gets set on commit. +git config --global --add gitreview.username "jenkins-$SILO" +git remote -v git submodule foreach git review -s git review -s @@ -63,7 +65,7 @@ if [ "$DRY_RUN" = false ] then echo "Pushing stable/${RELEASE,,} branches to Gerrit" git submodule foreach git push gerrit "stable/${RELEASE,,}" - git push gerrit "stable/$RELEASE" + git push gerrit "stable/${RELEASE,,}" fi # --- End create new maintenance branch