Description
Problem Definition
Bamboo 5.12 introduced new way to store artifacts at Bamboo home folder. It's independent from plan key now. There's no way to access this storage tag during a build outside of the directory provided from querying the REST API: https://confluence.atlassian.com/display/BAMBOO/Plan+directory+information+REST+API
Suggested Solution
It should be possible to get storage tag value from build variables, like ${bamboo.plan.storageTag}
Workaround
The storage tag is static and won't change for a plan. While far from ideal, if you know this value you can create it as a plan variable manually for use within your build.
The following SQL will show you your plan to storage tag mappings:
SELECT FULL_KEY,STORAGE_TAG FROM BUILD where build_type in ('CHAIN','CHAIN_BRANCH');
Attachments
Issue Links
- relates to
-
BAM-17690 Provide REST endpoint to retrieve storage tag for plans
- Closed