We regularly have a need to skip running build(s) on certain commits. All of the major public cloud CI vendors support this by adding [skip ci] in the commit message (Travis, Appveyor, CircleCI, BuildKite, etc). Bitbucket Pipelines supports it. Jenkins supports it with a plugin.
How can we do this with Bamboo?
Hi @Eric Pederson,
You can achieve this in Bamboo as well through the Plan/linked repository settings at:
If the regular expression in the Exclude changesets field matches the commit message, that commit will not trigger a build nor be tracked in Bamboo build results.
That looks almost ideal, but..
I put "skip ci" (without the quotes) into Exclude changesets and added that to my commit comment (for example: "Re-apply 66714a9 (config syntax error message) skip ci" but it still ran the plans that had this as a linked repository.
I am using Bamboo 6.1.0.
Screenshots:
Scratch that. This regex works:
.*skip ci.*
Thanks!
Of course it would be nice to have something global so I didn't have to add this to my 50 or so repositories but I'm happy to have it.
It looks like you're new here. Sign in or register to get started.