Allow job with dependencies to start even if some dependencies failed
complete
Cyril Duchon-Doris
Assuming one's workflow has several parallel test jobs like
rspec_tests
, cucumber_tests
, integration_tests
and needs to perform some "test aggregation job" that requires previous jobs to have finished but not necessarily to be successful. Something like :
jobs: - test1 - test2 - report_test_failures: requires_even_if_failed: - test1 - test2
Right now the circleci doc for the workflow job
require
param requires
N
List
A list of jobs that must succeed for the job to start
Is it possible to have something similar without the
that must succeed
?Maybe such a feature is available by other means and I missed it ?
CCI-I-285
Nathan Fish
complete
We released more flexible job requires, which should address this issue directly.
R
Richard Macklin
I think this is similar to this request: https://ideas.circleci.com/ideas/CCI-I-344
H
Heshy Roskes
In addition, I'd like to see an option to run a job only when previous jobs fail, which can be used to run longer tests to help diagnose the problem.