Yeah but this would require all nodes beeing active everytime. If one node stays offline and is tied to ~10 devices those devices wouldn't get a nightly build this time ... Since we've got only ~ 15 "core nodes" that are online >90% of the time and a few more that are online from time to time this would need constant tweaking of the build configuration. I've had a look at the jenkins source code and i guess it what i want could be done very easy by modifying the canTake() function of the slave computer. But i have yet found an easy tutorial on howto create a plugin that messes around with overriding existing function (i dont know if this possible at all) nor do i know how i could replace the slave class with a overloaded class. But i guess this is a little bit offtopic..
- Chris 2014-04-11 10:09 GMT+02:00 Björn Pedersen <[email protected]>: > > > Am Mittwoch, 9. April 2014 08:22:41 UTC+2 schrieb Christoph Vollmer: > >> Hey, >> >> we are using jenkins to build an android rom every night for many devices. >> Currently we set up a matrix job which has 1 axis with build parameters >> (the actual devices name) and 1 axis for the node selection (contains ~20 >> nodes). >> >> Example for the device axis (contains ~120 entries): >> device1 >> device2 >> device3 >> .... >> >> the build is started by executing a shell command, >> Example: >> >> start_build.sh $device >> >> >> > Why do you have the nodes as axis anyway? I would probably use a label > requirement for devices. This way, you should be able to tie the deviceto a > specific node. > > Björn > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/V4qA8eL8RvM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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]. For more options, visit https://groups.google.com/d/optout.
