Created
July 20, 2017 09:46
-
-
Save xen0l/5fe613e1ab47f8bd8ed6ff389385a385 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/components/developer/jenkins/files/jenkins-standalone.xml b/components/developer/jenkins/files/jenkins-standalone.xml | |
index 1cda73652..1bcdb93b1 100644 | |
--- a/components/developer/jenkins/files/jenkins-standalone.xml | |
+++ b/components/developer/jenkins/files/jenkins-standalone.xml | |
@@ -58,7 +58,7 @@ | |
both for JAVA and the JAR itself... Or keep it simple? --> | |
<exec_method type='method' | |
name='start' | |
- exec='/usr/bin/java -DsessionTimeout=1440 -jar %{jenkins_war_file} --httpPort=%{httpPort}' | |
+ exec='/usr/bin/java -DsessionTimeout=1440 -jar %{httpd/jenkins_war_file} --httpPort=%{httpd/httpPort}' | |
timeout_seconds='240'> | |
<method_context> | |
<method_credential user='jenkins' group='jenkins' privileges='basic,net_privaddr'/> | |
@@ -87,14 +87,14 @@ | |
<property_group name='httpd' type='application'> | |
<stability value='Evolving' /> | |
<propval name='httpPort' type='count' value='8080' /> | |
- <propval name='jenkins_war_file' type='astring' value='/usr/share/jenkins/war/jenkins.war' /> | |
+ <propval name='jenkins_war_file' type='astring' value='/usr/share/jenkins/war/weekly/jenkins.war' /> | |
</property_group> | |
<property_group name='startd' type='framework'> | |
<!-- sub-process core dumps shouldn't restart | |
session --> | |
- <propval name='ignore_error' type='astring' | |
- value='core,signal' /> | |
+ <propval name='ignore_error' type='astring' value='core,signal' /> | |
+ <propval name='duration' type='astring' value='child' /> | |
</property_group> | |
<template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment