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
ef85723c
Commit
ef85723c
authored
Oct 22, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Jenkins version to last known stable.
parent
f3be2e6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
playbooks/roles/jenkins_master/defaults/main.yml
+4
-0
playbooks/roles/jenkins_master/tasks/main.yml
+4
-7
No files found.
playbooks/roles/jenkins_master/defaults/main.yml
View file @
ef85723c
...
...
@@ -4,6 +4,9 @@ jenkins_group: "edx"
jenkins_server_name
:
"
jenkins.testeng.edx.org"
jenkins_port
:
8080
jenkins_deb_url
:
"
http://pkg.jenkins-ci.org/debian/binary/jenkins_1.530_all.deb"
jenkins_deb
:
"
jenkins_1.530_all.deb"
jenkins_plugins
:
-
{
name
:
"
build-name-setter"
,
version
:
"
1.3"
}
-
{
name
:
"
build-pipeline-plugin"
,
version
:
"
1.4"
}
...
...
@@ -53,4 +56,5 @@ jenkins_debian_pkgs:
-
nginx
-
git
-
maven
-
daemon
-
python-pycurl
playbooks/roles/jenkins_master/tasks/main.yml
View file @
ef85723c
...
...
@@ -13,14 +13,11 @@
-
name
:
jenkins_master | Add the jenkins user to the group
user
:
name={{ jenkins_user }} append=yes groups={{ jenkins_group }}
-
name
:
jenkins_master |
Install Jenkins apt key
apt_key
:
url=http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key state=present
-
name
:
jenkins_master |
Download Jenkins package
get_url
:
url="{{ jenkins_deb_url }}" dest="/tmp/{{ jenkins_deb }}"
-
name
:
jenkins_master | Add apt repository
apt_repository
:
repo='deb http://pkg.jenkins-ci.org/debian binary/' state=present
-
name
:
jenkins_master | Install jenkins package
apt
:
pkg=jenkins state=present update_cache=yes
-
name
:
jenkins_master | Install Jenkins package
command
:
dpkg -i --force-depends "/tmp/{{ jenkins_deb }}"
-
name
:
jenkins_master | Stop Jenkins
service
:
name=jenkins state=stopped
...
...
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