Brian
Brian

Reputation: 93

VSTS/TFS - Build How do you specify a commit message for which the CI build should not get triggered?

I would like to not trigger CI for some of the commits that I push to VSTS.

Is their something which I can specify in commit message which will prevent CI to not trigger?

Upvotes: 0

Views: 593

Answers (1)

Harshil Lodhi
Harshil Lodhi

Reputation: 7780

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***"

Docs: https://www.visualstudio.com/en-us/docs/build/scripts/git-commands

Upvotes: 4

Related Questions