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

How to cut a Maven release in Bamboo?

I am looking for how to run release builds in Bamboo. Coming from Jenkins there is a handy one click link for Maven projects that auto populates parameters for the Maven Release Plugin. What is the equivalent in Bamboo? The best I can figure is to literally clone the existing project and add parameters, however the build configuration will then get out of synch and the user needs to manually enter versions.

I hope I am missing something here.

1 answer

Depending on your SCM implementation you could use mvn:release or jgitflow.  These can be executed with the standard maven task.  We typically set these up as a manual stage after the primary build stage.

So it's not a separate plan but a separate task. That manual stage doesn't interfere with builds from SCM changes? We are using Bitbucket w/ git and no special workflow.

An additional manual stage will not interfere with the first build stage.  The release process must be a task in the manual stage.  With no GIT workflow, you should be able to use mvn release, but if you start to roll in something around tagging/branching during release, that may change.

If your build has other optional manual tasks/stages then this might not be feasible since the tasks/stages have to complete in sequence.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

98 views 0 10
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