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

Hello @Chris Hudson,

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`

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Friday in Statuspage

Statuspage has 3 new integrations with Zendesk!

Incident response is a team sport, and customer support is an integral part of any team. While Ops is working hard to solve the problem at hand, support is on the front lines communicating with custo...

48 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you