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
edx
configuration
Commits
e5a4da4b
Commit
e5a4da4b
authored
Nov 10, 2015
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jenkins JVM configuration should be set on the playbook.
parent
e3b261ed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
playbooks/edx-east/jenkins_testeng_master.yml
+2
-1
playbooks/roles/jenkins_master/defaults/main.yml
+2
-1
playbooks/roles/jenkins_master/tasks/main.yml
+5
-5
No files found.
playbooks/edx-east/jenkins_testeng_master.yml
View file @
e5a4da4b
...
...
@@ -7,9 +7,10 @@
sudo
:
True
gather_facts
:
True
vars
:
COMMON_DATA_DIR
:
"
/mnt"
COMMON_DATA_DIR
:
"
/mnt
2
"
COMMON_ENABLE_DATADOG
:
True
COMMON_ENABLE_SPLUNKFORWARDER
:
True
jenkins_jvm_args
:
"
-Djava.awt.headless=true
-Xmx7168m
-XX:MaxPermSize=512m"
SPLUNKFORWARDER_LOG_ITEMS
:
-
source
:
'
/var/lib/jenkins/jobs/*/builds/*/junitResult.xml'
...
...
playbooks/roles/jenkins_master/defaults/main.yml
View file @
e5a4da4b
...
...
@@ -7,7 +7,8 @@ jenkins_port: 8080
jenkins_version
:
"
1.630"
jenkins_deb_url
:
"
http://pkg.jenkins-ci.org/debian/binary/jenkins_{{
jenkins_version
}}_all.deb"
jenkins_deb
:
"
jenkins_{{
jenkins_version
}}_all.deb"
jenkins_jvm_args
:
"
-Djava.awt.headless=true
-Xmx6144m"
# Jenkins jvm args are set when starting the Jenkins service, e.g., "-Xmx1024m"
jenkins_jvm_args
:
"
"
jenkins_plugins
:
-
{
name
:
"
build-name-setter"
,
version
:
"
1.3"
}
...
...
playbooks/roles/jenkins_master/tasks/main.yml
View file @
e5a4da4b
...
...
@@ -39,11 +39,11 @@
service
:
name=jenkins state=stopped
-
name
:
set jvm args
lineinfile
:
>
backup
=
yes
dest
=
/etc/default/jenkins
regexp
=
'^JAVA_ARGS'
line
=
'JAVA_ARGS=\"{{ jenkins_jvm_args }}\"'
lineinfile
:
backup
:
yes
dest
:
/etc/default/jenkins
regexp
:
'
^JAVA_ARGS'
line
:
'
JAVA_ARGS=\"{{
jenkins_jvm_args
}}\"'
notify
:
-
restart Jenkins
tags
:
...
...
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