How do you get Maven Artifact Sharing working?

groomsy December 22, 2012

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

0 votes
James Dumay
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2013

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.

groomsy January 18, 2013

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
TAGS
AUG Leaders

Atlassian Community Events