Change java.io.tmpdir on master node | version 1.482

151 views
Skip to first unread message

ilikeflex

unread,
Oct 19, 2012, 2:25:04 PM10/19/12
to jenkins...@googlegroups.com
Hi

I am running jenkins server from command line

java -jar jenkins-1.482.war JAVA_OPTS="-Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp" --httpPort=8081

I want to change the java.io.tmpdir. Currently it is pointing to /tmp on my Unix Box.

How can i change the java.io.tmpdir. The above command line does not work.

I have only master node in my jenkins configuration.

Any pointers...

Richard Mortimer

unread,
Oct 19, 2012, 2:40:06 PM10/19/12
to ilikeflex, jenkins...@googlegroups.com


On 19/10/2012 19:25, ilikeflex wrote:
> Hi
>
> I am running jenkins server from command line
>
> java -jar jenkins-1.482.war
> JAVA_OPTS="-Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp" --httpPort=8081
try removing the JAVA_OPTS= and I also think you need to put the -D
before -jar


java -Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp -jar
jenkins-1.482.war --httpPort=8081

Regards

Richard

ilikeflex

unread,
Oct 19, 2012, 3:31:11 PM10/19/12
to jenkins...@googlegroups.com, ilikeflex
It worked..
Thanks Richard
Reply all
Reply to author
Forward
0 new messages