I have a maven multimodule build. I have checked 'enable maven artifact sharing' on my plan configuration, but on the artifacts page from my build job it says "No maven artifacts have been produced for this Job"
What do i need to do to make bamboo see the maven artifacts produced by the build?
On the confluence site it says "If a Job needs to deploy an artifact (i.e. produce the artifact), mark the artifact as shared in the relevant artifact definition."
Should the artifact definition appear automatically, or do i need to define it?
If i need to define it what should it point at, the pom.xml, the project directory, the build directoty, the built jar in the build directory, the built jar in the local maven repo?
I'm having the same problem. I've defined the bamboo-artifact-sharing-maven-plugin on a simple project to share the produced artifacts on a downstream stage. When running the maven task in debug (-X) I can see that the bamboo-artifact-sharing-maven-plugin is invoked after the test phase, but the job still says: "No maven artifacts have been produced for this Job". I also notice the following log output at the end of the "share" goal.
|03-Apr-2012 01:18:02||[DEBUG] bamboo.baseURL='null'|
|03-Apr-2012 01:18:02||[DEBUG] bamboo.planResultKey='null'|
|03-Apr-2012 01:18:02||[DEBUG] bamboo.jobKey='null'|
|03-Apr-2012 01:18:02||[DEBUG] bamboo.token='null'|
Also the docs say: "Artifact sharing is configured differently when using Maven 2 or 3 as a builder for your jobs." How is it different?
You need to define the bamboo-artifact-sharing-maven-plugin in both the project that is producing and consuming the artifact. Bamboo uses this plugin to figure out what artifacts are produced by Maven so that it can redirect their deployment repository to Bamboo and create Bamboo Artifacts for the produced Maven artifacts.
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot