Reputation: 123
I'm new to jenkins and trying to get started for my team (previously working with Bamboo). I'm in an environment where I have 1 jenkins server and many slave agents. There is 1 specific agent where I want to do most of my work/build on because it's the agent that my team owns.
Initially, I thought freestyle project would suit me, but I can't see a way to restrict a particular build step to a specific slave agent. Would pipeline be the best fit for me in this case? Is there a way to specify a specific node in freestyle?
Upvotes: 0
Views: 326
Reputation: 963
In freestyle project, you can set Restrict where this project can be run
in the Configure
page to select where you can run your project.
Also the NodeLabel Parameter Plugin will help if you want to specify the node as an parameter for a project.
Upvotes: 1