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

Support multi-step deployments

XMLWordPrintable

    • 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.

      I have 2 environments I deploy to, and the Pipelines for these deployments are multi-step but the steps are the same. I use variables to pass in details from BitBucket into the scripts that run, and use these variables across the steps. Ideally, I'd like my scripts to be able to use variables in their steps, but the values of those variables vary according to the "deployment".

      I can't find a way of using Deployments and Deployment variables to use the same pipeline for the different environments. It doesn't appear possible to have multiple steps in the same pipeline with the same deployment value (test/staging/production).

      Deployment variables only seem to be useful for different steps in the same pipeline (i.e. step 1 deploys to test, step 2 deploy to staging, step 3 to deploy to Prod), but it would be useful if a multiple steps could use the same deployment variables, or if a pipeline could run against a particular set of deployment variables (i.e. test/staging/prod)

        1. image-2023-03-09-13-57-14-674.png
          169 kB
          Edmund Munday
        2. image-2023-03-09-13-57-34-286.png
          168 kB
          Edmund Munday
        3. image-2023-03-09-13-58-10-409.png
          97 kB
          Edmund Munday
        4. image-2023-03-09-13-58-24-903.png
          21 kB
          Edmund Munday
        5. image-2023-03-09-13-58-51-174.png
          48 kB
          Edmund Munday
        6. image-2023-03-09-13-59-07-821.png
          48 kB
          Edmund Munday

            57465700c4e1 Edmund Munday
            f4dbaae2a132 Gary Breavington
            Votes:
            1067 Vote for this issue
            Watchers:
            497 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.75h
                0.75h