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
f525067f
Commit
f525067f
authored
Oct 23, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create "pinned" files to allow upgrading plugins bundled with Jenkins.
parent
ad3f60fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
playbooks/roles/jenkins_master/defaults/main.yml
+6
-0
playbooks/roles/jenkins_master/tasks/main.yml
+10
-0
No files found.
playbooks/roles/jenkins_master/defaults/main.yml
View file @
f525067f
...
...
@@ -41,6 +41,12 @@ jenkins_plugins:
-
{
name
:
"
multiple-scms"
,
version
:
"
0.2"
}
-
{
name
:
"
timestamper"
,
version
:
"
1.5.7"
}
jenkins_bundled_plugins
:
-
"
credentials"
-
"
git"
-
"
ssh-credentials"
-
"
ssh-slaves"
jenkins_custom_plugins
:
-
{
repo_name
:
"
git-client-plugin"
,
repo_url
:
"
https://github.com/edx/git-client-plugin.git"
,
...
...
playbooks/roles/jenkins_master/tasks/main.yml
View file @
f525067f
...
...
@@ -86,6 +86,16 @@
owner={{ jenkins_user }} group={{ jenkins_group }} mode=700
with_items
:
"
{{
jenkins_custom_plugins
}}"
# Plugins that are bundled with Jenkins are "pinned".
# Jenkins will overwrite updated plugins with its built-in version
# unless we create a ".pinned" file for the plugin.
# See https://issues.jenkins-ci.org/browse/JENKINS-13129
-
name
:
jenkins_master | Create plugin pin files
command
:
touch {{ jenkins_home }}/plugins/${item}.jpi.pinned
creates={{ jenkins_home }}/plugins/${item}.jpi.pinned
with_items
:
"
{{
jenkins_bundled_plugins
}}"
-
name
:
jenkins_master | Setup nginix vhost
template
:
src=etc/nginx/sites-available/jenkins.j2
...
...
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