concourse / docs

concourse documentation and website

Home Page:https://concourse-ci.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is 'on_error' supported as a Job attribute?

kdvolder opened this issue · comments

What I mean is, there are step hooks like on_failure, on_abort, on_success and on_error.

Step hooks on_failure, on_abort, on_success are listed in the docs as being also acceptable as attributes on a Job directly (bottom of this page: https://concourse-ci.org/jobs.html).

The on_error step hook is not mentioned there. Is this an oversight in the docs?

Related issue: spring-projects/sts4#383

job configs can definitely have an on_error: https://github.com/concourse/concourse/blob/master/atc/job_config.go#L18, so this is a gap in the docs! Would you consider making a PR to https://github.com/concourse/docs/blob/master/lit/docs/jobs.lit?

fixed in #269