Details
-
Suggestion
-
Resolution: Won't Do
Description
Please enable the pipeline triggering mechanism for deletion of tags and branches in Bitbucket cloud.
The best CI/CD pipeline's function isn't just build and deploy, but must do cleanup when the testing is done.
You folks at Bitbucket have done such a great job with it and its pipeline, we have migrated from Github+Jenkins/CircleCI to BitBucket cloud. While we don't want all that junks comes with programmability/pluggability of Jenkins, we still do need some essential functions.
While I can create a nightly job to check and compare the existence of branch and tags and force the cleanup, that's not ideal when the cloud vendor charges by hours nor security reason.
Something like this:
branches:
feature/*;
- step:
name: Deprovision from Test Env
trigger: branch-deleted
script: - echo "deleting ...."