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

Support multi-step deployments

    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 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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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