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,467,964
Community Members
 
Community Events
177
Community Groups

Creating plugin for a specific version of Bamboo

I am trying to create a plugin, and have managed to create one for Bamboo 6.2.2.  However, our production platform is 6.1.2.  The plugin works fine in 6.2.2, but when I run it with

atlas-debug --product bamboo --version 6.1.2

I get the following  error

------------------------------------------------------------------------


[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.491 s
[INFO] Finished at: 2018-01-02T18:15:56+00:00
[INFO] Final Memory: 51M/433M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.3.6:debug (default-cli) on project selective: Unable to execute mojo: Unable to find artifact. Could not find artifact com.atlassian.bamboo:atlassian-bamboo-web-app:war:6.1.2 in atlassian-public (https://maven.atlassian.com/repository/public)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.atlassian.bamboo -DartifactId=atlassian-bamboo-web-app -Dversion=6.1.2 -Dpackaging=war -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.atlassian.bamboo -DartifactId=atlassian-bamboo-web-app -Dversion=6.1.2 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.atlassian.bamboo:atlassian-bamboo-web-app:war:6.1.2
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] atlassian-public (https://maven.atlassian.com/repository/public, releases=true, snapshots=true),
[ERROR] atlassian-plugin-sdk (file:///usr/local/Cellar/atlassian-plugin-sdk/6.3.4/libexec/repository, releases=true, snapshots=true),
[ERROR] ats-releases (http://artifactory.amelco.co.uk/artifactory/ats-releases, releases=true, snapshots=false),
[ERROR] ats-snapshots (http://artifactory.amelco.co.uk/artifactory/ats-snapshots, releases=true, snapshots=true),
[ERROR] private-internal-repository (http://artifactory.amelco.co.uk/artifactory/repo, releases=true, snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I also tried changing the bamboo.version and bamboo.data.version numbers, but they all seem to give similar issues.

 

Is there a way to make this plugin work on an earlier version of Bamboo?

2 answers

Does this mean that I should run it with

 

`atlas-debug --product bamboo --version 6.1.2-m280`

rsperafico Atlassian Team Jan 02, 2018

Yes, please. Alternatively, you could run

atlas-debug --product bamboo --version 6.1.2-SNAPSHOT

Kind regards,

Rafael

0 votes
rsperafico Atlassian Team Jan 02, 2018

Hello @xetius,

If you have a look at the repository, you will notice there is no 6.1.2 artifact available (https://maven.atlassian.com/maven-external/com/atlassian/bamboo/atlassian-bamboo-web-app/), instead, you should be looking at:

6.1.2-m280/               21-Aug-2017 20:48    -
6.1.2-SNAPSHOT/           11-Aug-2017 11:12    -

Kind regards,

Rafael

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events