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
This commit is contained in:
K Jonathan Harker 2014-04-30 16:52:36 -07:00
parent 941acb42ef
commit 35eea3a673
1 changed files with 1 additions and 0 deletions

View File

@ -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 => [