diff --git a/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml b/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml index 1ab1f3e508..f50ba9297d 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/job-builder.yaml @@ -24,7 +24,9 @@ builders: - 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: - console-log diff --git a/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml b/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml index 20bbdc0771..721996ed41 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/openstack-ci-puppet.yaml @@ -16,7 +16,9 @@ builders: - 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: - console-log