Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22564

Add the ability to assign workspace variables to a repository variable or deployment variable

    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

      Currently, if you have the following scenario -

      workspace Variable: value -
      project_id_dev: some_project_dev

      deployment variable: value -
      dev:
      project_id: $project_id_dev

      pipelines:
      branches:
      dev:

      • step:
        deployment: dev
        script:
      • echo $project_id

      result:
      $project_id_dev

      expected:
      some_project_dev

      In other words, if you try to assign a workspace variable to a deployment variable (or a repository variable), it takes the literal value - "$project_id_dev". It does not resolve the actual variable name. Can we implement a feature where assigning one variable value as another is possible?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9cc073eb116c Aravind Anil
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: