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 <[email protected] <javascript:>>: > >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 [email protected]. 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.
