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
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

202 views 4 1
Join discussion

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