Add playbook to run JJB on all jenkins masters
Change-Id: Ic60a3379ca79ad04ae959f3e7acc6ec46d3b32cc
This commit is contained in:
parent
75abc5bc4b
commit
5cb4ec7f5d
10
playbooks/run_jjb.yaml
Normal file
10
playbooks/run_jjb.yaml
Normal file
@ -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 <num>" 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
|
Loading…
x
Reference in New Issue
Block a user