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

Everything is working fine right now but since our project gets bigger and 
bigger we try to optimise our build times. One huge improvement is that we 
are now using ccache.
But using ccache is only helping alot if the same devices are build on the 
same nodes every time.
Right now jenkins seems to be assigning the devices randomly (it does not 
seem to be ordered in any way).

Is there any way i could setup the project to (always) assign a device to 1 
node?
So the build jobs would be run as the following (just an example, maybe 
there are other ways to do it better):

If device1 has been built on one of the nodes rerun it on the same node 
again. 
If device1 has never been built queue it and run it after a node built all 
the devices it already built (i hope you get what i mean :P )

Thanks in advance, 
 Chris

-- 
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/d/optout.

Reply via email to