From 23c851eb2a8136550cb86392e371a9da08ce0e1f Mon Sep 17 00:00:00 2001 From: Khai Do Date: Wed, 25 Mar 2015 15:17:36 -0700 Subject: [PATCH] Fix jenkins-job-builder-compare-xml job by using zuul-cloner The script in jenkins-job-builder-compare-xml job failed due to git clone executing a shallow clone: Cloning into 'project-config'... fatal: The remote end hung up unexpectedly fatal: protocol error: bad pack header This can be fixed by just removing the '/p/' from the url but we would rather use the zuul-cloner because it can take advantage of the local git cache on disk thus allowing for more efficient cloning. Change-Id: I05f1c928a15cf5e791a95a01975e8aba78f4953f --- tools/run-compare-xml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run-compare-xml.sh b/tools/run-compare-xml.sh index 913bdb646..2fbb90916 100755 --- a/tools/run-compare-xml.sh +++ b/tools/run-compare-xml.sh @@ -22,7 +22,7 @@ mkdir -p .test/old/out mkdir -p .test/new/config mkdir -p .test/new/out cd .test -git clone https://review.openstack.org/p/openstack-infra/project-config --depth 1 +/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org/openstack-infra project-config cp project-config/jenkins/jobs/* old/config cp project-config/jenkins/jobs/* new/config cd ..