Reputation: 14373
I am trying to use bamboo to manage my release procedure and just wondering if this is feasible:
It looks like the "Repository triggers the build when changes are committed" is to best way to implement the process. But I can't find out the way to move any further. Any idea?
Upvotes: 3
Views: 2255
Reputation: 1
A bit late but... I found a solution. You need to put a "negative" regular expression in the "Exclude changesets" section in the repository configuration, that include the word that you want. The regular expression is like :
^(?!.test).$
like that: repository configuration
with this, bamboo will only build commits with this word in the message. Now, if your commit is like "commit for test", bamboo will build it
Upvotes: 0
Reputation: 1313
Yes you can do this (Only if you can deploy custom plugins to it).
You need to build custom triggers as plugins for bamboo.
Create a plugin. See here.
If you have access to bamboo's source code I suggest you look into classes DependencyTriggerReason
, InitialbuildTriggerReason
, ScheduledTriggerReason
. You need to create a class implementing TriggerReason. You should start with this tutorial if you are new to developing bamboo plugins.
Deploy it to bamboo.
Upvotes: 2