Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Inject Bamboo variables - Could not read variable file at ' ' as it does not exist

IJsbert Smant November 18, 2020

Hi,

 

I am running a bamboo plan where I am downloading an object mskurl.txt from an S3 bucket and copy this into my target local path 'variables/'.

The next task is to inject the file where I have the path to properties file configured as 'variables/mskurl.txt'

My log shows:

18-Nov-2020 14:27:06Found 1 objects for key prefix vars/ in source bucket BUCKET
18-Nov-2020 14:27:06Downloading 1 object(s) to directory /home/bamboo/bamboo-agent-home/xml-data/build-dir/ABC-MCCDEPLOY1-SC/variables:
18-Nov-2020 14:27:07... 0.0% transfer completion (0 of 219 bytes) ...
18-Nov-2020 14:27:08... 100.0% transfer completion (219 of 219 bytes) ...
18-Nov-2020 14:27:08Transfer completed.
18-Nov-2020 14:27:08Finished task 'Get Bootstrap broker variable' with result: Success
18-Nov-2020 14:27:08Starting task 'Get Bootstrap broker variable' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject'
18-Nov-2020 14:27:08Could not read variable file at '/home/bamboo/bamboo-agent-home/xml-data/build-dir/ABC-MCCDEPLOY1-SC/variables/mskurl.txt' as it does not exist.

 

The log shows the destination path of the S3 bucket being equal to the path used for the inject bamboo variable task and still it claims the file does not exist.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events