Merge "Fall back to git clone if zuul-cloner not available"
This commit is contained in:
commit
542df4f206
@ -22,7 +22,12 @@ mkdir -p .test/old/out
|
||||
mkdir -p .test/new/config
|
||||
mkdir -p .test/new/out
|
||||
cd .test
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org/openstack-infra project-config
|
||||
if [ -e /usr/zuul-env/bin/zuul-cloner ];
|
||||
then
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org/openstack-infra project-config
|
||||
else
|
||||
git clone --depth=1 git://git.openstack.org/openstack-infra/project-config
|
||||
fi
|
||||
cp project-config/jenkins/jobs/* old/config
|
||||
cp project-config/jenkins/jobs/* new/config
|
||||
cd ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user