diff --git a/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml index 95104b56ef..11d8200668 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/chef-jobs.yaml @@ -48,6 +48,7 @@ - shell: | #!/bin/bash -xe mkdir -p .cookbooks .bundle + ruby1.9.1 /usr/bin/bundle config --global jobs $(nproc) ruby1.9.1 /usr/bin/bundle install --path=.bundle # Validates cookbooks ruby1.9.1 /usr/bin/bundle exec berks install --path=.cookbooks diff --git a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml index 04cee450d4..d97f282532 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -116,6 +116,7 @@ builders: - shell: | mkdir -p .bundle + ruby1.9.1 /usr/bin/bundle config --global jobs $(nproc) ruby1.9.1 /usr/bin/bundle install --path=.bundle - builder: