Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 achieve continuous release cycle with Bamboo for Atlassian Plugin development?

Hi All,

I am developing Atlassian plugins and can package and deploy the plugins manually by using the atlas-* commands.

However, I would like to automate this whole process of packaging and deployment as a release cycle using Bamboo.

I would like to achieve the following:

  1. Using Maven task in the Bamboo to package my plugin. (This I am currently doing by using a script task and using the atlas-package command inside of it)
  2. Using the maven task (if possible) to auto-increment the snapshot version of the build artifact. (Currently, I am doing this by using a script task and using the command “atlas-mvn clean package -DbambooBuildNumber=${bamboo.buildNumber}”
  3. Using Bamboo deployment to deploy the generated artifact to the target servers and also to achieve the auto-increment of the maven version from the snapshot to the major for example, 2.0

I am kinda lost on how to achieve this and need help to proceed further.

Thanks in advance!

1 answer

1 accepted

1 vote
Answer accepted

Hi Robhit,

Using Maven task in the Bamboo to package my plugin. (This I am currently doing by using a script task and using the atlas-package command inside of it)

Use Capability to add a Maven executable with atlas-mvn

Using the maven task (if possible) to auto-increment the snapshot version of the build artifact. (Currently, I am doing this by using a script task and using the command “atlas-mvn clean package -DbambooBuildNumber=${bamboo.buildNumber}”

Maven task can be configured with "clean package -DbambooBuildNumber=${bamboo.buildNumber}" as the Goal 

Using Bamboo deployment to deploy the generated artifact to the target servers

Try this add-on Continuous Plugin Deployment for Bamboo

and also to achieve the auto-increment of the maven version from the snapshot to the major for example, 2.0

Try this add-on Variable tasks for Bamboo to get the maven version and increment it and update pom.xml with command or Maven task like 

mvn versions:set -DnewVersion=${bamboo.maven.version.extracted.incremented}

 

Suggest an answer

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

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

695 views 1 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