Avoid triggering a CI build when I push my code

This is an issue that recently came up for a team, where they used Lerna to package up their javascript components into a mono repository and publish the components back to the git repository hosting their source.

We are using Azure DevOps (formerly Visual Studio Online / Team Foundation Services (naming is hard y'all!)). In it, there's a magic flag feature that allows you to tell the service NOT to perform a CI build when you push e.g. a new distribution as a part of your CI process. It took us a little while to find this flag, so I'm spreading the love here:

How do I avoid triggering a CI build when the script pushes?

Add ***NO_CI*** to your commit message. For example, git merge origin/features/hello-world -m "Merge to master ***NO_CI***"


I hope this saves your project some time!

Comments

Popular posts from this blog

Auto Mapper and Record Types - will they blend?

Unit testing your Azure functions - part 2: Queues and Blobs

Testing WCF services with user credentials and binary endpoints