As far as I see that method is public as you can see in the javadoc: - http://javadoc.jenkins-ci.org/hudson/model/Slave.html#setNumExecutors(int)
You might need to execute save afterwards: - http://javadoc.jenkins-ci.org/hudson/model/Node.html#save() Cheers -- 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/8465cc6b-7c75-4e85-942b-ec42d23d36ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
