💡 This post is part of my TFS tips where I write about how we make the most of TFS (on premise)
We have multiple applications being released to the same server. For every application we have a CI/CD release pipeline. The problem we faced occurs when two developers checkin on different applications. We want only one active release of all pipelines.
First we tried to create a deployment queue with only one agent in it. Unfortunately we had insufficient rights. But this set us in the right direction.
We then added a demand for one of the agents in the queue and added that same demand to all release pipelines. This queues the releases as the same agent must do them.
Hopefully not everybody adds a demand for “our” agent. 🙄