Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17605

Storage tag should be available from build variables

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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

          Activity

            People

              achystoprudov Alexey Chystoprudov
              achystoprudov Alexey Chystoprudov
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: