Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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

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

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

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 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