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
Handling failures is extremely inconvenient for complex jobs #47
Lets assume that there is a job which runs one task:
- task: task1
file: foo/task1.yml
and we have some resource sending out notifications about success or failure (e.g. via email or slack). It goes like this (assuming that resources are configured):
(note the use of do to wrap all steps in the hooks)
A later iteration that may be nice is to be able to attach these hooks to the job itself, which would allow you to remove the additional do nesting. Which would be nice if they're hooks that're truly added to every single job (as alerting services tends to be) where having the additional nesting gets old quick.
Reacted by Gabriele Petronella, Steve Wall, Heng-Yi Wu, Jen Spinney and Zhenhua Cao
Activity
vito commentedon May 23, 2015
Created https://www.pivotaltracker.com/story/show/95308862 with a proposed solution
vito commentedon Jul 16, 2015
As of 0.57, we have replaced
conditionswith a hook-based approach:http://concourse.ci/on-success-step.html
http://concourse.ci/on-failure-step.html
http://concourse.ci/ensure-step.html
This allows you to reduce those to...:
...and...
(note the use of
doto wrap all steps in the hooks)A later iteration that may be nice is to be able to attach these hooks to the job itself, which would allow you to remove the additional
donesting. Which would be nice if they're hooks that're truly added to every single job (as alerting services tends to be) where having the additional nesting gets old quick.concourse-bot commentedon Jul 21, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the story, will be automatically updated as the status in Tracker changes.
concourse-bot commentedon Jul 21, 2015
Hello again!
All stories related to this issue have been accepted, so I'm going to automatically close this issue.
At the time of writing, the following stories have been accepted:
If you feel there is still more to be done or have any questions, feel free to reopen!
bump etree tsa handlers mux clockwork goxmldsig genproto grpc