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:
I am kinda lost on how to achieve this and need help to proceed further.
Thanks in advance!
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}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.