diff --git a/manifests/job_builder.pp b/manifests/job_builder.pp index fafcc93..1e6ae1b 100644 --- a/manifests/job_builder.pp +++ b/manifests/job_builder.pp @@ -7,6 +7,7 @@ class jenkins::job_builder ( $git_revision = 'master', $git_url = 'https://git.openstack.org/openstack-infra/jenkins-job-builder', $config_dir = '', + $jenkins_jobs_update_timeout = '600', ) { # A lot of things need yaml, be conservative requiring this package to avoid @@ -56,7 +57,7 @@ class jenkins::job_builder ( exec { 'jenkins_jobs_update': command => 'jenkins-jobs update --delete-old /etc/jenkins_jobs/config', - timeout => '600', + timeout => $jenkins_jobs_update_timeout, path => '/bin:/usr/bin:/usr/local/bin', refreshonly => true, require => [