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):

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.


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



Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

117 views 3 3
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