Harshal Shah
Harshal Shah

Reputation: 627

Concourse : multiple steps on_failure

Is it possible to execute multiple tasks from on_failure in concourse? I could not find an example in documentation or elsewhere I'd like to do something like

on_failure: - aggregate: - put: slack-notification - put: mark-pr-as-failed Is this possible or should I create a new task combining both steps above?

Upvotes: 7

Views: 5370

Answers (2)

Paul M
Paul M

Reputation: 320

You could also use the "try" step so as not to fail the step at all?

Upvotes: 0

Related Questions