Support nested variable references in Bitbucket Pipelines (variables referencing variables)

XMLWordPrintable

    • 1

      Summary

      Support referencing one Bitbucket variable inside another across all variable scopes (workspace, repository, deployment, pipeline), so that values can be composed/aliased without manual duplication.

      Current behavior

      Bitbucket does not evaluate variables inside the values of other variables.

      Example:

      • Workspace variables:
        • WORKSPACE_VAR_1 = ${WORKSPACE_VAR_2}
        • WORKSPACE_VAR_2 = 1
      • Repository variables:
        • REPO_VAR_1 = ${WORKSPACE_VAR_1}

      Requested behavior

      When a variable’s value contains ${OTHER_VAR}{}, Bitbucket resolves OTHER_VAR to its current value at evaluation time.

              Assignee:
              Unassigned
              Reporter:
              Marlene Harms
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: