Commit 5b0b0831 by Kevin Falcone

Lump plugin installs together

This avoids running the entire role if you just want one new plugin.
It intentionally makes you restart Jenkins so you can put it in quiet
mode, wait out any jobs and then restart.
parent 39291f98
......@@ -146,6 +146,7 @@
tags:
- install
- install:base
- install:plugins
# We first download the plugins to a temp directory and include
# the version in the file name. That way, if we increment
......@@ -159,6 +160,7 @@
tags:
- install
- install:base
- install:plugins
- name: Install Jenkins plugins
command: "cp {{ item.dest }} {{ jenkins_home }}/plugins/{{ item.item.name }}.hpi"
......@@ -167,6 +169,7 @@
tags:
- install
- install:base
- install:plugins
- name: Set Jenkins plugin permissions
file:
......@@ -179,6 +182,7 @@
tags:
- install
- install:base
- install:plugins
# We had to fork some plugins to workaround
# certain issues. If these changes get merged
......@@ -195,6 +199,7 @@
tags:
- install
- install:base
- install:plugins
- name: Compile custom plugins
command: "mvn -Dmaven.test.skip=true install"
......@@ -205,6 +210,7 @@
tags:
- install
- install:base
- install:plugins
- name: Install custom plugins
command: mv /tmp/{{ item.item.repo_name }}/target/{{ item.item.package }}
......@@ -214,6 +220,7 @@
tags:
- install
- install:base
- install:plugins
- name: Set custom plugin permissions
file:
......@@ -226,6 +233,7 @@
tags:
- install
- install:base
- install:plugins
# Plugins that are bundled with Jenkins are "pinned".
# Jenkins will overwrite updated plugins with its built-in version
......@@ -239,6 +247,7 @@
tags:
- install
- install:base
- install:plugins
- name: Setup nginix vhost
template:
......
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