Expose URL to download plugins from
Change-Id: I18b743d994baea6adb74ef8359c9b372de4683c5 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
7e3a4bb88f
commit
659133a381
@ -13,3 +13,5 @@
|
||||
# under the License.
|
||||
---
|
||||
jenkins_plugins_manager: []
|
||||
|
||||
jenkins_plugins_url: https://updates.jenkins-ci.org/download/plugins/
|
||||
|
@ -12,10 +12,10 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
---
|
||||
- name: Download
|
||||
- name: Download plugins.
|
||||
get_url:
|
||||
dest: "{{ jenkins_config_home }}/plugins/"
|
||||
url: "https://updates.jenkins-ci.org/download/plugins/{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi"
|
||||
url: "{{ jenkins_plugins_url }}{{ item.name }}/{{ item.version | default('latest') }}/{{ item.name }}.hpi"
|
||||
with_items:
|
||||
- "{{ jenkins_plugins_manager }}"
|
||||
notify:
|
||||
|
Loading…
Reference in New Issue
Block a user