# Ensure we fail the job if any steps fail.
set -eu -o pipefail
+pip install --user --quiet --upgrade git-review
+
# Fail if branch cutting is not on master
if [ "$BRANCH_CUT" = "true" ] && [ "$BRANCH" != "master" ]; then
echo "ERROR: Cannot branch cut on $BRANCH, its required to be on the master branch."
done
fi
-
-# Setup Gerrit remove to ensure Change-Id gets set on commit.
+# Setup Gerrit remote to ensure Change-Id gets set on commit.
git config --global --add gitreview.username "jenkins-$SILO"
git review -s
git remote -v