Hello everyone,
We are excited to announce that Bitbucket Pipelines Stages has entered open beta.
Stages allow grouping pipeline steps with shared properties, such as grouping deployment steps. See the pipeline configuration example below:
pipelines:
default:
- step:
name: Build app
script:
- sh ./build-app.sh
- stage:
name: Deploy to production
deployment: production
steps:
- step:
name: Deploy
script:
- sh ./deploy-app.sh
- step:
name: Run post deployment verification
script:
- sh ./run-pdvs.sh
Splitting deployments into multiple steps has benefits, such as:
Better visibility of the deployment progress in the UI
A failed step can be rerun without requiring to start deployment from the beginning.
More flexible configuration for different parts of the deployment process like build image or step size.
Deployment variables can be accessed from any step in a deployment stage.
Steps in a stage are deployed as a logically grouped unit. Deployment stages will benefit from deployment permissions and concurrency control.
For more details and limitations see: https://support.atlassian.com/bitbucket-cloud/docs/stages/
Bitbucket Pipelines Stages are available to everyone, please try it out, we’d appreciate any and all feedback. If you have any issues please raise a support ticket.
Happy coding!
Nadia.
Nadia Begicheva
1 comment