Hi folks,

I'd like to use docker-jnlp-slave in my docker-compose to spin up slaves 
for Jenkins master.
However, I didn't find a way to define the labels for the agent - seems 
that there's no parameter for that. The same for executor thread count.
Furthermore, the Main class of JNLP agent 
(https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/jnlp/Main.java)
 
doesn't seem to support these parameters as well. However, in agent's 
details in UI you can define these things.

So is there still a way to define those on container start? Or maybe I 
should just use an empty busybox-style container calling create-node CLI 
command (e.g, 
https://stackoverflow.com/questions/42683324/create-jenkins-jlnp-slave-programmatically/42703928#42703928)
 
to create a JNLP agent?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/b4602caa-73e3-4fc5-b311-b0a9a0f91b26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to