Allow usage of variables in import statement for shared pipelines

XMLWordPrintable

      Hi team,

      Variables are not supported in the import statement for defining a custom version/tag and these must be defined statically instead, for example:

      image: atlassian/default-image:2
      pipelines:
        branches:
          master: 
            import: testrepository:${{MAVEN_SHARED_BITBUCKET_PIPELINES_VERSION}}:parent-pipeline
      

      The following error is thrown:

      There was an error fetching the imported bitbucket-pipelines.yml file. Confirm the import statement and exported file are correctly configured.
      

      If this could be supported, this will allow for dynamic versioning considerations when using shared pipelines.

      Cheers!

      Benjamin Pellaers
      Cloud Engineer | Bitbucket Cloud Support
      More About Bitbucket | FAQ | Roadmap | Knowledge Base
      Business Hours: Mon. to Fri. 8:30 a.m. to 5:30 p.m (AEDT) | Atlassian Support offerings

              Assignee:
              Unassigned
              Reporter:
              Ben
              Votes:
              7 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: