"It works on my machine."
I have said it. You have probably said it too. A build pipeline is basically a machine that is not yours, and it does not care how confident you are. Every time you push, it pulls your code onto a clean machine, builds it, runs the tests, and tells you the truth.
The first time I set one up, I felt like I had hired a very honest assistant who never takes a day off.
In Part 3 we pushed the Todo API to Azure Repos and protected main . Today we add Azure Pipelines , so every push is built and tested automatically, and no pull request can be merged if the tests fail.
Before we start: check your free build minutes
Remember the heads-up from Part 1? New Azure DevOps organizations do not get free Microsoft-hosted build minutes automatically. If you have not done it yet, fill in the free parallelism request form now. It can take a few business days.
You can check your status in Organization settings > Pipelines > Parallel jobs .…