I've got a few infrequently updating projects in Bamboo. These are libraries, and I'd like them to build with the rest of our nightly builds, so they're included with the rest of our bits when push to pre-production enviroment overnight and run integration tests.
In Bamboo, I'd like those libraries to be built on these conditions:
"At 1:00am each morning, if there's been a checkin to the single Mercurial repository for the project."
That's fine, and it works--but it always builds, even if no code's been committed.
Why? These builds are done with the Maven release plugin to update version numbers, and the Maven release plugin always checks updated POM files back into Mercurial. This means that every day there's check-ins.
Thus Bamboo runs that job, because it sees these semi-bogus checkins from the Maven release plugin, and thus there's something new to build.
Is there a way I can tell Bamboo to either ignore a certain user's checkins (a 'builder' account does our builds) or ignore changes to certain files when determining if a build should be done?
I've considered adding a simple 'hg pull -u' at the end of my Bamboo job, but that feels a bit hacky, and was wondering if anyone else has suggestions.
There is "include/exclude files pattern" in the repository configuration advanced options - I don't expect it will fit to your need, but thought I'd point it out anyway.
AFAIK in Bamboo 4.0 there will be a feature to ignore commits per message name (or user name, I'm not sure) - and it should do what you expect - at least we, Bamboo developers, had similar issue with Mercurial-based builds being triggered by Maven release plugin and currently the issue is not occuring.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs