How do you get Maven Artifact Sharing working?

I have followed the following directions (and re-followed them to ensure I didn't miss anything): https://confluence.atlassian.com/display/BAMBOO/Configuring+artifact+sharing+between+jobs

However, when I run my plan, I find the following in the logs:

[DEBUG] bamboo.baseURL='null'
[DEBUG] bamboo.planResultKey='null'
[DEBUG] bamboo.jobKey='null'
[DEBUG] bamboo.token='null'

I have tried setting these variables in my properties tag in my pom, but when I do that, I don't know what to put for bamboo.token and if I put something for that variable, the plan fails (which I believe is due to the fact that it doesn't understand the given token).

Should I have to set these variables manually? Shouldn't these be set automatically? Is there a special thing to set for this that I have neglected? Any help would be greatly appreciated.

I am using Bamboo 4.3. I am using the latest bamboo-artifact-sharing-maven-plugin. I am using Maven 3. I am building a Java Android application in my build plan.

1 answer

This widget could not be displayed.

Have you enabled the Maven Artifact Sharing option on the Miscellaneous tab of the Plan configuration? That is likely why the variables are not being provided.

James,

I have enabled Maven Artifact Sharing on that tab. It seems like the artifacts are not being shared though. I found this: https://jira.atlassian.com/browse/BAM-11040 We are using Maven 3 and by your comments on this issue, it seems as though that isn't guaranteed to work.

Thanks,

Todd

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

70 views 2 3
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