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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

78 views 0 11
Read article

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