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

No promote button if a deployment stage has more than 1 step

XMLWordPrintable

      Issue Summary

      No promote button shown on the deployments page if a deployment stage has more than 1 step

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Add a manual deployment step in the yaml file with more than 1 steps in deployment stage. sample config,
      image: atlassian/default-image:3 #atlassian/default-image:3
      
      pipelines:
        branches:
          main1:
            - step:
                name: Deploy to test
                deployment: Test     
                script:
                  - echo "test environment"
            - stage:
                name: Deploy to prd
                deployment: PROD
                trigger: manual
                steps:
                  - step: 
                      script:
                        - echo "first step"          
                  - step: 
                      script:
                        - echo "second step"
      
      1. In the above config, there are two steps for the deployment stage "PROD"

      Expected Results

      Promote button shown on the deployments page to promote the build from Test environment to PROD

      Actual Results

      No promote button shown on the deployments page to promote the build from Test environment to PROD

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              a3002c6cc185 Swetha Boyapati
              Votes:
              12 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: