Commit d8c8a372 by Kevin Falcone

We don't have any jpi files by default

The jenkins role actually explicitly names files as hpi unless they're
jpi.pinned, so make this optional.  It seems to come up more if you've
upgraded plugins via the web UI.
parent b82478eb
......@@ -16,6 +16,7 @@
- name: Get the list of jpi files
shell: "ls {{ jenkins_home }}/plugins/*.jpi"
register: jpi_files
ignore_errors: true
- name: Set the permission on jpi files
file:
......@@ -24,5 +25,6 @@
group: "{{ jenkins_group }}"
mode: 0644
with_items: jpi_files.stdout_lines
when: jpi_files
notify:
- restart Jenkins
\ No newline at end of file
- restart Jenkins
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment