Re: How set java.io.tmpdir=/tmp for Jenkins slave?

2017-09-13 Thread Raghav
Hi Ed/Reynald,

I had same issue on our jenkins slave, and find this post useful.

I have one more question here.

Once we change the default /tmp to something else like /foo, should we also 
worry about cleaning up this /foo temp directory regularly?

What's your recommendation?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/650eae4f-27e9-45ca-a825-ef5568e10dab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How set java.io.tmpdir=/tmp for Jenkins slave?

2013-01-07 Thread ED SUTTON
Thank you Reynald!  

That solved my problem.  

Somehow I was blind to seeing the "Advanced" button on the slave node 
configuration page.

Thanks again for your help! 

-Ed

On Jan 7, 2013, at 3:31 PM, Reynald Borer wrote:

> Hi,
> 
> Try to add the following inside the JVM options: "-Djava.io.tmpdir=/foo" 
> (click on Advanced under Launch method to see show this field).
> 
> Then disconnect and reconnect the slave to take this parameter into account.
> 
> Cheers,
> Reynald
> 
> 
> On Monday, January 7, 2013 at 18:51 , Ed of the Mountain wrote:
> 
>> Is there a way to set system property: java.io.tmpdir=/tmp for a slave?  I 
>> am launching the slave via SSH.  I assume if I can map 
>> java.io.tmpdir=/volume1/tmp my problem is solved.
>> 
>> My problem is I am running out of /tmp space with a Jenkins slave running on 
>> a Synology ARM based NAS which uses tmpfs or RAM as the /tmp resource.
>> 
>> Thanks in advance,
>> 
>> -Ed
>> 
>>
>>
>> 
>> 
> 



Re: How set java.io.tmpdir=/tmp for Jenkins slave?

2013-01-07 Thread Reynald Borer
Hi, 

Try to add the following inside the JVM options: "-Djava.io.tmpdir=/foo" (click 
on Advanced under Launch method to see show this field).

Then disconnect and reconnect the slave to take this parameter into account.

Cheers,
Reynald



On Monday, January 7, 2013 at 18:51 , Ed of the Mountain wrote:

> Is there a way to set system property: java.io.tmpdir=/tmp for a slave?  I am 
> launching the slave via SSH.  I assume if I can map 
> java.io.tmpdir=/volume1/tmp my problem is solved.
> 
> 
> My problem is I am running out of /tmp space with a Jenkins slave running on 
> a Synology ARM based NAS which uses tmpfs or RAM as the /tmp resource.
> 
> Thanks in advance,
> 
> -Ed
> 
>
>
> 
>