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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,349
Community Members
 
Community Events
185
Community Groups

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
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 22, 2019 • edited

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
AUG Leaders

Atlassian Community Events