how to change job artifacts path to a new location other than bamboo-home

Hi,

In my company, we run the bamboo jobs daily and we save the job artifacts for every job run. As we save it daily our artifacts folder is full and we wanna change it to a different path.so , we added a new mount point and we wanna move there.

a)I declared a variable called "artifactsdirectory" in bamboo.int.properties file and gave the new mount point path in the following way
"artifacts.directory=/mountpoint2/xyz"

b)I changed the "bamboo.artifacts.directory" property value in bamboo.cfg.xml in the following way
"<property name="bamboo.artifacts.directory">${artifactsdirectory}/artifacts</property>"

result:
It creates the directory as "${artifactsdirectory}" and doesn't push the artfacts i.e its failing.

 So, my requirement is i want bamboohome etc and all in mountpoint1 but artifacts have to be in second mountpoint.

Can someone help me how to do that?

 

1 answer

I think keyword expansion is not support in config files.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

462 views 0 9
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