Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
2d9bf421
Commit
2d9bf421
authored
Sep 25, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install custom git-client plugin with bugfix
parent
544b1ea0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletions
+28
-1
playbooks/roles/jenkins_master/tasks/main.yml
+25
-0
playbooks/roles/jenkins_master/vars/main.yml
+3
-1
No files found.
playbooks/roles/jenkins_master/tasks/main.yml
View file @
2d9bf421
...
...
@@ -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
...
...
playbooks/roles/jenkins_master/vars/main.yml
View file @
2d9bf421
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment