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

YAML Anchors calling other YAML Anchors

    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

      I have two environments I deploy to, and two types of deployment I do to each. The deployments are almost identical except for their first step.

      I've moved most of the steps to YAML anchors, but I end up with 4 pipeline definitions, each with the same number of steps. It'd be good if I could create a definition that chained other anchor steps. That way I could create an anchor that was steps 2-5, and then my pipelines would simply be "Run Step 1, then the anchor that does steps 2-5"

      Attachments

        Activity

          People

            Unassigned Unassigned
            f4dbaae2a132 Gary Breavington
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: