Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,002
Community Members
 
Community Events
165
Community Groups

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

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
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

940 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you