Re: cloud docker give options to java command

2017-11-27 Thread pi . quiroule
Yes, thanks, I found this option and a few others in the last version of 
docker plugin.
And thanks a lot for Docker Plugin !


Le vendredi 24 novembre 2017 14:46:19 UTC+1, nicolas de loof a écrit :
>
> just use the "JVM Options" parameter for this launcher (in advanced 
> options)
>
> 2017-11-24 11:09 GMT+01:00 :
>
>> I'm using ssh launch mechanism with ssh credentials.
>> I would like to pass -xmx argument to the java command launching jenkins 
>> to limit the memory used by my jenkins nodes.
>>
>>
>>
>> Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit :
>>>
>>> it depends the docker agent template "launch" mechanism you're using.
>>> Can you please describe your use-case ? Which argument do you want to 
>>> pass to the jenkins remote agent ?
>>>
>>> 2017-11-23 15:50 GMT+01:00 :
>>>
 Hi,
 how could I give an option to the java command launching jenkins in a 
 slave :
 java  -jar slave.jar

 Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
 templates/Container settings" ?

 -- 
 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-use...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/d92d8aa9-1ef8-416d-aaa8-c1c6bd1e6488%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/5085fa1a-bd22-4b0e-a52a-8218bf2bcf0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-27 Thread pi . quiroule


Le jeudi 23 novembre 2017 16:15:12 UTC+1, pi.qu...@gmail.com a écrit :
>
> Hi,
> how could I give an option to the java command launching jenkins in a slave :
> java  -jar slave.jar
>
> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
> templates/Container settings" ?
>
>

-- 
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/57246ca3-d186-40da-8cc1-41fe890ff297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-24 Thread nicolas de loof
just use the "JVM Options" parameter for this launcher (in advanced options)

2017-11-24 11:09 GMT+01:00 :

> I'm using ssh launch mechanism with ssh credentials.
> I would like to pass -xmx argument to the java command launching jenkins
> to limit the memory used by my jenkins nodes.
>
>
>
> Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit :
>>
>> it depends the docker agent template "launch" mechanism you're using.
>> Can you please describe your use-case ? Which argument do you want to
>> pass to the jenkins remote agent ?
>>
>> 2017-11-23 15:50 GMT+01:00 :
>>
>>> Hi,
>>> how could I give an option to the java command launching jenkins in a slave 
>>> :
>>> java  -jar slave.jar
>>>
>>> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
>>> templates/Container settings" ?
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40g
>>> ooglegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> 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/ms
> gid/jenkinsci-users/d92d8aa9-1ef8-416d-aaa8-c1c6bd1e6488%
> 40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANMVJznjJCpXkAqZsDHMPhVT9f4vd1C7HaFbnQP1mLYTgqPAbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-24 Thread pi . quiroule
I'm using ssh launch mechanism with ssh credentials.
I would like to pass -xmx argument to the java command launching jenkins to 
limit the memory used by my jenkins nodes.



Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit :
>
> it depends the docker agent template "launch" mechanism you're using.
> Can you please describe your use-case ? Which argument do you want to pass 
> to the jenkins remote agent ?
>
> 2017-11-23 15:50 GMT+01:00 :
>
>> Hi,
>> how could I give an option to the java command launching jenkins in a slave :
>> java  -jar slave.jar
>>
>> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
>> templates/Container settings" ?
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/d92d8aa9-1ef8-416d-aaa8-c1c6bd1e6488%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-23 Thread nicolas de loof
it depends the docker agent template "launch" mechanism you're using.
Can you please describe your use-case ? Which argument do you want to pass
to the jenkins remote agent ?

2017-11-23 15:50 GMT+01:00 :

> Hi,
> how could I give an option to the java command launching jenkins in a slave :
> java  -jar slave.jar
>
> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
> templates/Container settings" ?
>
> --
> 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/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.
> com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CANMVJzm07D986aMoHoaKPDH%2BiLm2vSU7rqct1dKoMfNAQYyGKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


cloud docker give options to java command

2017-11-23 Thread pi . quiroule


Hi,
how could I give an option to the java command launching jenkins in a slave :
java  -jar slave.jar

Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
templates/Container settings" ?

-- 
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/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.