Answer the question
In order to leave comments, you need to log in
Is it possible to execute commands on different nodes in Jenkins within one job?
We set the task to launch virtual machines exactly when you need to build the right project.
I tried to "navigate" for each job for assemblies of 2 others, which are only responsible for starting and stopping the corresponding virtual machine. You understand that this option is not good, because a crutch.
If the option (including through some kind of plugin) is to run each build step on its node (the master starts the virtual machine, the node builds the project on it, the master cuts down the virtual machine)?
Or are there any other ways?
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
You can use vagrant + ansible to start the virtual machine, for example, and in each jenkins job, you can already indicate in one line which configuration the vagrant should raise. Unfortunately, in this case, you still have to do a lot of jobs so that Jenkins already pushes them to less busy nodes.
You can make a matrix build and run it on multiple nodes at the same time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question