Commit e0aea721 by Kevin Falcone

We may not have HPI files if we only download JPI

parent eaead048
......@@ -2,6 +2,7 @@
- name: Get the list of hpi files
shell: "ls {{ jenkins_home }}/plugins/*.hpi"
register: hpi_files
ignore_errors: true
- name: Set the permission on hpi files
file:
......@@ -10,6 +11,7 @@
group: "{{ jenkins_group }}"
mode: 0644
with_items: hpi_files.stdout_lines
when: hpi_files
notify:
- 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