Make the variable of ZUUL_URL configurable.

Current the variable of ZUUL_URL is hardcoded in xenapi-os-testing, so
that it can't use the value passed from Jenkins. For tests running in
internal cloud which can access zuul merger server, we should use zuul
merger server as the repo source for fetching changes which is the
proper way to support depends-on changes. For tests running in external
cloud which is not able to access zuul merger server, we continue using
review.openstack.org.

Change-Id: If58ec92e3b18e790e437008b8d5aba1465d517eb
This commit is contained in:
Jianghua Wang 2016-09-25 22:10:59 +08:00
parent 06162bf2b7
commit 17f9e63577

View File

@ -152,7 +152,8 @@ sudo pip install pyyaml
LOCATION_OF_LOCAL_GIT_REPOSITORIES=/opt/git
# These came from the Readme
export ZUUL_URL=https://review.openstack.org/p
# use the ZUUL_URL passed from Jenkins
export ZUUL_URL=${ZUUL_URL:-https://review.openstack.org/p}
export REPO_URL=$LOCATION_OF_LOCAL_GIT_REPOSITORIES
# Check out a custom branch