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 agent agent-4.
Can we achieve this using GOCD?
You can use the environments feature for that, though you have to put each pipeline in the group into that environment. I don't think there is a group-wide feature for that.