Select mirror when diffing JJB XML files.

* .../jenkins_job_builder/config/job-builder.yaml:
* .../jenkins_job_builder/config/openstack-ci-puppet.yaml:
Run select-mirror.sh before running the compare scripts. This ensures
that dependencies not in the OpenStack mirror can be downloaded. Without
it pip may be configured to only use the OpenStack mirror.

Change-Id: Ie1ce67deb78e4bdfe20884bb6bda0fbb57db2f0e
This commit is contained in:
Clark Boylan 2013-09-09 17:51:12 -07:00
parent 3c05b1bad0
commit dec97720d5
2 changed files with 6 additions and 2 deletions

View File

@ -24,7 +24,9 @@
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: "./tools/run-compare-xml.sh" - shell: |
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-infra jenkins-job-builder
./tools/run-compare-xml.sh
publishers: publishers:
- console-log - console-log

View File

@ -16,7 +16,9 @@
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: "./tools/run-layout.sh openstack-infra config" - shell: |
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack-infra config
./tools/run-layout.sh openstack-infra config
publishers: publishers:
- console-log - console-log