Closed marco-m closed 4 years ago
The doc that you linked to seems to be about a 'step' hook. And it is really not clear from that doc that it is something you can put on a job directly.
There is similar docs on jobs, but it doesn't make mention of on_error
. Only on_success
, on_failure
and on_abort
are mentioned there: https://concourse-ci.org/jobs.html (scroll down to the bottom).
Are you sure that 'on_error' works on job (rather than step)? If so I can certainly add support for this, but since its not mentioned in the doc, maybe it is on oversight in the docs, and we should also raise a ticket with concourse docs as well.
Ah, you were faster than me with upstream documentation, thanks!
Noticed another missing attribute while looking at the docs for Job. Created ticket here: https://github.com/spring-projects/sts4/issues/389
Consider the following pipeline:
The extension wrongly reports for
on_error
:Unknown property 'on_error' for type 'Job'
.The documentation for
on_error
is: https://concourse-ci.org/on-error-step-hook.html#on_error