You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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:06||Found 1 objects for key prefix vars/ in source bucket BUCKET|
|18-Nov-2020 14:27:06||Downloading 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:08||Transfer completed.|
|18-Nov-2020 14:27:08||Finished task 'Get Bootstrap broker variable' with result: Success|
|18-Nov-2020 14:27:08||Starting task 'Get Bootstrap broker variable' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject'|
|18-Nov-2020 14:27:08||Could 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.