From 35eea3a673a5081f72627869f8aac215785567db Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Wed, 30 Apr 2014 16:52:36 -0700 Subject: [PATCH] JJB can take longer than 5 minutes to run Double the timeout on the jenkins_jobs_update exec (from 5m to 10m) because jenkins-jobs can take longer than 5 minutes to run when a reasonably large number of jobs are defined. Change-Id: Iff74a322a2f2e605c3c9e78f36cd8d12571e944a --- modules/jenkins/manifests/job_builder.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/jenkins/manifests/job_builder.pp b/modules/jenkins/manifests/job_builder.pp index d8985bac0d..431b6921fe 100644 --- a/modules/jenkins/manifests/job_builder.pp +++ b/modules/jenkins/manifests/job_builder.pp @@ -40,6 +40,7 @@ class jenkins::job_builder ( exec { 'jenkins_jobs_update': command => 'jenkins-jobs update --delete-old /etc/jenkins_jobs/config', + timeout => '600', path => '/bin:/usr/bin:/usr/local/bin', refreshonly => true, require => [