Maven release best practice from Bamboo

I currently have a lot of projects configured in Jenkins. I am trying Bamboo now. But finding it difficult for performing release builds from Bamboo.

In Jenkins there is a "Perform Maven Release" link available for every maven build. When this link is clicked, Jenkins populates the next release version and snapshot version automatically(see image below). And performing release is just one click on that page. Is there something similar available in Bamboo? If not what is the best practice for performing release builds from Bamboo?

I have tried googling but did not find anything that helps.

Thanks in advance.

2016-07-14 11_22_44-Jenkins.png

1 answer

I really like the "push0ver" add-on for this, but it depends on you having an artifactory repository you can publish to.    (Although, who knows, maybe it can publish to any maven-compatible repo?  It does PUT requests to maven-style URL's.  I haven't tested non-artifactory maven-repos).

Also, it switches things around:  you tag git *first* to push a release.  The version inside the pom.xml is always set to <version>0.0.0.0.0-SNAPSHOT</version>.  Push0ver then extracts the tag from the git repo and edits the pom.xml during the Bamboo build.

But the nice thing here is that pom.xml files receive a lot fewer edits this way, making for fewer merge conflicts.

You can find the "push0ver" add-on here:  https://marketplace.atlassian.com/plugins/push0ver.push0ver/server/overview

(I'm one of the co-authors of it.)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

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...

1,782 views 0 6
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you