Hi there Jenkins fans, 

I got this problem that i'm trying to figure out and I was hoping someone 
could help me with it. I have a job that i want to start on a specific 
jenkins slave. This slave would be selected from a list of available slaves 
passed by me as parameter (e.g. [$slave1, $slave4, $slave5]). The slave 
that is selected, for the job to run on, should be the one that has the 
least amount of used resources, especially CPU, so that when other jobs are 
started in parallel, the workload will be split among the slaves evenly. 

I've looked at 
the https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin 
but it only satisfies a third of my needs (passing a slave to a job). I've 
also looked 
at https://wiki.jenkins-ci.org/display/JENKINS/Least+Load+Plugin, but with 
this plugin i can't control on which slaves not to run the job and it only 
looks at the amount of executors that are free on the slaves, not the 
actual CPU usage. 

Any pointers are welcome. 

Thank you! 

-- 
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/231ce96d-8185-43bd-b624-f7d9216dc0b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to