firstblud
firstblud

Reputation: 123

Which item type should I use for jenkins when I want to have work done on a particular slave agent?

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?

enter image description here

Upvotes: 0

Views: 326

Answers (1)

leiyc
leiyc

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.

enter image description here

Also the NodeLabel Parameter Plugin will help if you want to specify the node as an parameter for a project.

Upvotes: 1

Related Questions