From 65f1af17b7b36b431267445231f1699f5df6500c Mon Sep 17 00:00:00 2001 From: Mark Vanderwiel Date: Fri, 15 Aug 2014 11:26:29 -0500 Subject: [PATCH] Fix gate job timing issues with bundler Make ruby bundler in gate more resilient by only running one job rather then multiple jobs in parallel and retry the bundler install operation 3 times rather then failing after first attempt for git requests and network issues. * Use --jobs 1 * Use --retry 3 * Use --verbose to help with extension compile debugging These are documented here: http://bundler.io/v1.5/bundle_install.html Change-Id: Ic93ba6e7487ed92aa9cb984b6b8e7df08959b2aa Closes-Bug: #1357439 --- .../files/jenkins_job_builder/config/macros.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 0079786b75..2c8e403020 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml @@ -127,8 +127,7 @@ builders: - shell: | mkdir -p .bundle - bundle config --global jobs $(nproc) - bundle install --path=.bundle + bundle install --path=.bundle --jobs 1 --retry 3 --verbose - builder: name: chef-berkshelf-prep