Quantcast

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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

ilikeflex
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...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

Richard Mortimer


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

>
> 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...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

ilikeflex
It worked..
Thanks Richard
 
 

On Friday, October 19, 2012 2:40:45 PM UTC-4, Richard Mortimer wrote:


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

>
> 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...
Loading...