[JIRA] [core] (JENKINS-18578) Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable

2013-11-24 Thread froethenbac...@apache.org (JIRA)














































Felix Roethenbacher
 commented on  JENKINS-18578


Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable















Actually, it is related to the Jenkins working/home directory (see JENKINS-18459) as this is where Jenkins usually is given read/write access.

In an environment where Jenkins WAR is running inside an existing Tomcat application server with user 'tomcat7', Jenkins fails as the user does not have write access to the user's home directory (usually that's '/usr/share/tomcat7') for security reasons.

If the slave FS root solves this problem, that's perfect. Just make sure that the actual user running Jenkins has write access to this directory.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-18578) Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable

2013-11-23 Thread froethenbac...@apache.org (JIRA)














































Felix Roethenbacher
 commented on  JENKINS-18578


Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable















Path should consider JENKINS_HOME system variable (Jenkins running as WAR with user tomcat7).

Workaround is to create a sym link from shared tomcat7 directory to Jenkins home directory:


ln -s /var/lib/jenkins /usr/share/tomcat7/.jenkins





























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[JIRA] [core] (JENKINS-18578) Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable

2013-11-23 Thread froethenbac...@apache.org (JIRA)














































Felix Roethenbacher
 commented on  JENKINS-18578


Default jar cache location is hardcoded to ~/.jenkins/cache/jars and not configurable















Well, according to the docs you can set the Jenkins working directory with JENKINS_HOME system variable. That's how it used to work, at least in the master only environment.

Maybe there is a a solution that works for both environments, master and slave.



























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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.