Introducing: Final Steps in Bitbucket Pipelines
Apr 2, 2026Rajkumar Singh

Summary
Introduces 'final steps' to Bitbucket Pipelines, a new construct that guarantees execution of a designated step after all other steps in a pipeline have completed, regardless of their success or failure. This is achieved by adding a `final:` section to the `bitbucket-pipelines.yml` configuration. The post outlines usage examples, restrictions (e.g., only one final step, must be last, no grouping/parallelization, no child pipeline triggering, no manual/deployment/fail-fast options), and emphasizes its utility for cleanup, telemetry, notifications, and audit events.