Issue Type: Bug Bug
Affects Versions: current
Assignee: Simon Westcott
Components: bulk-builder, copyarchiver, credentials, cvs, dashboard-view, disk-usage, extended-read-permission, external-monitor-job, git, greenballs, join, ldap, leastload, mailer, matrix-auth, nested-view, pam-auth, parameterized-trigger, prescmbuildstep, project-inheritance, publish-over-ssh, rebuild, role-strategy, ssh, ssh-slaves, timestamper, view-job-filters
Created: 20/Nov/13 7:06 PM
Description:

For our environment it is required to load webapp into /var/cache/jenkins.
With previous version (1.509.3) setting /etc/default/jenkins with:
JENKINS_ARGS="--webroot=/var/cache/jenkins/war --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT"

has always loaded webroot/webapp to this location.
Installing the latest jenkins with 'apt-get install -y jenkins' using our existing /etc/default/jenkins file not passing the --webroot parameter/location. Starting Jenkins with /etc/init.d/jenkins start

Jenkins:IIRC suggestions to use (command-line or /etc/default/jenkins):
$ export JETTY_HOME=/var/cache/jenkins/war
$ export JENKINS_HOME=/home/username/jenkins
$ /usr/bin/java -Xmx512m -jar /usr/share/jenkins/jenkins-1.540.war --webroot=/var/cache/jenkins/war --httpPort=8080 --ajp13Port=-1

However, it still continuously loads into: /tmp/jetty-0.0.0.0-8080-jenkins-1.540.2.war-any/webapp

/var/log/jenkins/jenkins.log:
INFO: Extract jar:file:/usr/share/jenkins/jenkins-1.540.2.war!/ to /tmp/jetty-0.0.0.0-8080-jenkins-1.540.2.war-any/webapp

Using previous 1.509.3 jenkins.war (and prior) versions does not have this behavior.

Is this change by design?
Can you please provide a workaround so we can specify --webroot or jetty_home, etc.?

Due Date: 13/Dec/13 12:00 AM
Environment: - 8Gb RAM
- 8 CPUs
- 300Gb disk
- Ubuntu 12.04
Jenkins installed via 'apt-get install -y jenkins'
Project: Jenkins
Priority: Major Major
Reporter: Gibran Marquez
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to