Commit 2d9bf421 by Will Daly

Install custom git-client plugin with bugfix

parent 544b1ea0
......@@ -37,6 +37,31 @@
notify:
- restart Jenkins
# We had to fork the git-client plugin repo
# to fix an obscure bug. If and when the PR gets
# merged into the main repo and released,
# we can use the regular plugin install process.
# Until then, we need to compile and install it ourselves.
- name: jenkins | Checkout custom git-client plugin repo
git: repo=https://github.com/edx/git-client-plugin.git
dest=/tmp/git-client-plugin
- name: jenkins | Compile custom git-client plugin
command: mvn install chdir=/tmp/git-client-plugin
creates=/tmp/git-client-plugin/target/git-client.hpi
- name: jenkins | Install custom git-client
command: mv /tmp/git-client-plugin/target/git-client.hpi
{{ jenkins_home }}/plugins/git-client.hpi
creates={{ jenkins_home }}/plugins/git-client.hpi
notify:
- restart Jenkins
- name: jenkins | Set git-client plugin permissions
file: path={{ jenkins_home }}/plugins/git-client.hpi
owner={{ jenkins_user }} group={{ jenkins_group }}
mode=700
- name: jenkins | Setup nginix vhost
template:
src=etc/nginx/sites-available/jenkins.j2
......
......@@ -14,7 +14,6 @@ jenkins_plugins:
- { name: "ec2", version: "1.18" }
- { name: "git", version: "1.5.0" }
- { name: "github", version: "1.8" }
- { name: "git-client", version: "1.1.2" }
- { name: "github-api", version: "1.44" }
- { name: "github-oauth", version: "0.14" }
- { name: "htmlpublisher", version: "1.2" }
......@@ -27,6 +26,7 @@ jenkins_plugins:
- { name: "parameterized-trigger", version: "2.20" }
- { name: "postbuild-task", version: "1.8" }
- { name: "s3", version: "0.5" }
- { name: "ssh-agent", version: "1.3" }
- { name: "ssh-credentials", version: "0.3" }
- { name: "ssh-slaves", version: "0.25" }
- { name: "shiningpanda", version: "0.20" }
......@@ -38,5 +38,7 @@ jenkins_plugins:
- { name: "timestamper", version: "1.5.7" }
jenkins_debian_pkgs:
- openjdk-7-jdk
- nginx
- git
- maven
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