From d5436c322e5d8ca092ee417a161f45c17d49b9bb Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 18 Mar 2014 15:22:54 +0000 Subject: [PATCH] Remove obsolete third argument check from ggp This was used when transitioning to ZUUL_URL from the calling environment, and is no longer required by any calls to the script. Change-Id: Ie3e1740a6cc3d67bd306b5d6c258002d51eaffe8 --- modules/jenkins/files/slave_scripts/gerrit-git-prep.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh b/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh index 3e32d4b64e..2289db3db1 100755 --- a/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh +++ b/modules/jenkins/files/slave_scripts/gerrit-git-prep.sh @@ -3,12 +3,6 @@ GERRIT_SITE=$1 GIT_ORIGIN=$2 -# TODO(jeblair): Remove once the arg list is changed in jjb macros -if [ ! -z $3 ] -then - GIT_ORIGIN=$3 -fi - if [ -z "$GERRIT_SITE" ] then echo "The gerrit site name (eg 'https://review.openstack.org') must be the first argument."