Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Skip Bamboo builds using commit message?

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?

1 answer

1 accepted

3 votes
Answer accepted

Hi @Eric Pederson,

You can achieve this in Bamboo as well through the Plan/linked repository settings at: 

Linked_repositories_-_Atlassian_Bamboo.png
 

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.

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.

Like # people like this

Hi @Eric Pederson,

I'm glad you found the correct regex pattern to filter the commits =]
If you don't mind on accepting my answer above, that will help other community users to see that this question is solved.

Thank you for sharing your configuration an tests! That helps a lot the community.

Done - thanks again!

Like Daniel Santos likes this

Than you! =]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

191 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you