I am working on a jenkins plugin where I need to simulate that my job can 
run on up to 10 executors. I have a test class that extends the JenkinsRule 
making it possible to create a DumbSlave like this:

DumbSlave slave = jenkins.createSlave("mySlave", "myLabel", null);
//slave.getComputer().getNode().
                // List is read-only
slave.getComputer().getExecutors()
.add(new Executor(slave.getComputer(), 77));


But I can't find a way to and a new executor to the slave. Does the API
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.553</version>

not support configuring the number of executors for a slave?

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to