Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
A build may allocate resources during the operation of the build. The stage marked as Final can clean up those resources as needed if the build succeeds or fails. But if someone stops the build then this stage is not run resulting in hanging resources. However if the build is stopped job by job then the final stage is run. However on a complex build this is extremely time consuming.
Either stopping the entire job should run the final stages, or there should be a way to identify a stage that can run regardless of the build result, succeeded, failed, or stopped.