configuring a variables task file path

https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html

In the configuration I've specified an absolute path

/home/atlassian/prod/bamboo/bamboo_map.properties

 

I get an error

  

03-Jan-2018 17:09:44Could not read variable file at '/mnt/ssd1/home/atlassian/prod/bamboo/home/xml-data/build-dir/196609/ABF-ABFT-JOB1/home/atlassian/prod/bamboo/bamboo_map.properties' as it does not exist.

 

So it uses a relative path to the build directory.

That doesn't make any sense as the directory doesn't exist before I run the test.

 

How do I use this feature then?

1 answer

2 votes

Hello @Przemyslaw Chudzinski [extensi.io],

Thank you for your update.

I have filed a bug (https://jira.atlassian.com/browse/BAM-19600) so information can be provided in Bamboo Inject Variables task and Bamboo's documentation (https://confluence.atlassian.com/pages/viewpage.action?pageId=687213475) stating that uses Relative Path to the Build Working Directory.

How do I use this feature then?

By having the properties files placed in the Build Working Directory from any other resource available to Bamboo (e.g Source Code Checkout, Artifact Download, SCP ...)

Please, feel free to add any comments to the link above as well as commenting on the issue link so our development team review the information provided, adding further information to it.

Kind regards,

Rafael

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,427 views 0 5
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