A cleanup job must run after a test stage even when the tests fail. Which pipeline design addresses this requirement?

Published
  1. Delete the cleanup job
  2. Use the default success-only condition and assume it always runs
  3. Use an appropriate always-run condition for cleanup and preserve the test failure result
  4. Mark every failed test successful before cleanup

Comments — 0