Hello everyone,
As part of the recent rework on our Bitbucket pipeline, I moved several deployment steps to run in parallel to reduce execution time. I also grouped these steps and applied the fail-fast: true option, so if one deployment fails, all other deployments to different servers are stopped, which is working as intended.
However, in the event of a failure, we need to perform cleanup tasks on the hosts, such as removing certain files or running checks to ensure everything is functioning correctly.
I’m now wondering if there’s a way to conditionally trigger a cleanup step specifically when fail-fast is activated.