Run a job when a previous job fails
Allow for running a job when a previous job fails. This job would specifically run only when the job fails. It would not run "always" or when successful.
A potential use-case may be the automatic rollback of a deploy.
An example workflow might be:
- Deploy new code
- Run some tests
- If the tests fail, run the rollback job