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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

122 views 6 8
View post

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