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

This widget could not be displayed.

I think keyword expansion is not support in config files.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 9 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

28 views 0 3
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