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