Associated gocd agent to a pipeline group

17 views
Skip to first unread message

Priyanka Makke

unread,
Jun 13, 2019, 1:15:02 AM6/13/19
to go-cd

I have 5 gocd agents connected to my gocd server.

The use-case is I want to run a particular pipeline belonging to a particular pipeline group to a specific go-agent every time.

Example: all pipelines having pipeline-group-1 should run on the agent agent-4.

Can we achieve this using GOCD?

Jason Smyth

unread,
Jun 13, 2019, 3:40:28 PM6/13/19
to go-cd
Hello,

To the best of my knowledge there is no way to link Pipeline Groups to Agents in GoCD. You would need to use either Environments or Resources to enforce the association between the individual Pipelines and the Agents you want them to run on.

I'm not sure why you would want to do this, though. It seems to me that there would be greater value in having all 5 Agents available to run any pipeline to reduce the chance of resource (Agent) contention when multiple Pipelines within a single Group need to run around the same time.

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages