Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

saketh-stash
Contributor
January 5, 2016

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

1 vote
Mark de Bont
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2016

I think keyword expansion is not support in config files.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events