1
votes

I am running a job which consist of three build steps in the master Jenkins. i.e)compile,deploy and Test script execution. I need to configure Jenkins in a way to run compile and deploy build step in master node. Test scripts needs to be executed in slave node in the same project

2

2 Answers

0
votes

I think the only solution is to launch your tests with a downstream job.

If you need to pass some parameters from the current job, you can use the jenkins parameterized trigger plugin.

0
votes

Use Multijob plugin or Build flow plugin

by using these plugins you can run as many jobs with same or different slave node.

You can even run your job as sequential or parallel type.