From 5cb4ec7f5df6b42a8f37cbaa2f98d72df8d4e594 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 8 Feb 2016 11:10:12 -0800 Subject: [PATCH] Add playbook to run JJB on all jenkins masters Change-Id: Ic60a3379ca79ad04ae959f3e7acc6ec46d3b32cc --- playbooks/run_jjb.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 playbooks/run_jjb.yaml diff --git a/playbooks/run_jjb.yaml b/playbooks/run_jjb.yaml new file mode 100644 index 0000000000..572d30ea0f --- /dev/null +++ b/playbooks/run_jjb.yaml @@ -0,0 +1,10 @@ +# Run JJB on all of the jenkins hosts. Use this if JJB has exceeded +# the default puppet timeout. Be sure to use "-f " to run it in +# parallel. +--- +- hosts: 'jenkins.openstack.org:~jenkins\d+.openstack.org' + tasks: + - name: run jjb + shell: jenkins-jobs update --delete-old /etc/jenkins_jobs/config + async: 7200 + poll: 30