You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document that jobs can have on_failure / on_success too #2020
I'd appreciate if there was more documentation around the behavior of on_failure. Add the fact that inconsistent indents are a source of confusion, I can for example write these two jobs:
Do they do the same thing? The on_failure step in the first example is attached to the aggregate step, while in the second example it's attached to the job itself. Both appear to work and behave in the same way. So what's missing from the docs (up for discussion, hence this issue):
how does on_failure behave if a task above the immediate parent fails? i.e. how do failures cascade throughout a plan?
it's not documented anywhere that attaching on_failure to a job works (but it's desirable, as it makes it clear, to trigger the on_failure if any task in the job fails).
Activity
vito commentedon Feb 9, 2018
It's documented here: http://concourse.ci/configuring-jobs.html#job-on-failure
JohannesRudolph commentedon Feb 9, 2018
You're right, I did miss that. Maybe add a back link from http://concourse.ci/on-failure-step.html
Can submit a PR if you agree.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
fiftin commentedon Feb 20, 2019
Broken links: http://concourse.ci/on-failure-step.html and http://concourse.ci/configuring-jobs.html#job-on-failure
Where is docs for job-on-failure now?
wagdav commentedon Feb 20, 2019
The .ci domain is abandoned since a while. The relevant documentation is here: