Skip to content

Commit

Permalink
Fix buildgraph-view Jenkins plugin install
Browse files Browse the repository at this point in the history
  • Loading branch information
ojacques committed Apr 12, 2017
1 parent c700f78 commit 12977a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vagrant/provision/roles/jenkins/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,13 @@
- performance
- jacoco
- sonar
- buildgraph-view
- http://mirrors.jenkins-ci.org/plugins/buildgraph-view/1.5.2/buildgraph-view.hpi
- xvfb
- ws-cleanup
- xframe-filter-plugin
- htmlpublisher
notify: restart jenkins
ignore_errors: True

- name: restart jenkins
sudo: yes
Expand Down Expand Up @@ -240,11 +241,13 @@
dest: /var/lib/jenkins/config.xml
marker: "<!-- {mark} ANSIBLE MANAGED BLOCK -->"
block: |
<int>2</int>
<int>3</int>
<string>GIT_REPOSITORY</string>
<string>{{github_url}}</string>
<string>BRANCH_TO_BUILD</string>
<string>{{github_branch}}</string>
<string>PROD_SERVERS</string>
<string>{{prod_servers}}</string>
- file: path=/var/lib/jenkins/.ssh/ mode=0755 owner=jenkins group=jenkins state=directory
- file: path=/var/lib/jenkins/.ssh/known_hosts mode=0755 owner=jenkins group=jenkins state=touch
Expand Down
2 changes: 2 additions & 0 deletions vagrant/provision/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ oracle_java_folder : jdk1.8.0_25
github_branch: refs/tags/v1.0
# Github location of the project
github_url: "https://github.com/devops-dojo/the-app.git"
# List of microservice production servers (for elastic scaling)
prod_servers: "app-server-node-4 app-server-node-5"

# Hubot adapter: slack or flowdock
hubot_adapter: flowdock
Expand Down

0 comments on commit 12977a9

Please sign in to comment.