Well, in Jenkins you can create groups of machines (both master and slaves) to do this:
- Click on the machine name on the front page of jenkins.
- go to node configuration menu
- then you can enter some labels in the Labels field. Add
mutli_platform shortcut e.g. - back to Jenkins front page
- do it for every machine you need to complete the task
- back to Jenkins front page
- click on the task you want to run on multiple nodes.
- go to the configuration menu
- check
Restrict where this project can be run and put mutli_platform in it.
Then your assembly will work on the mutli_platform label.
For the second part, with multiple script platforms, you can use ant builds or python builds (with the python plugin).
EDIT: if you need to build on 2 (or more) platforms, you should use Matrix Assignment . You can create a task and make it work on each slave device that you need.
Cédric julien
source share