Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pilot Lvl 1
Message 1 of 3

Step conditional on status transition from failure() to success()?

Solved! Go to Solution.

We send a notification on Slack when a job fails. This is detected using an if: failure() conditional check. Now I'd also like to send a Slack notification when the job transitions from failure() to success() but not on every successful build. Is this kind of state transition possible to detect?

2 Replies
Solution
GitHub Partner
Message 2 of 3

Re: Step conditional on status transition from failure() to success()?

Hi britzl, 

Sorry to tell you that there is not a event to track job status transition. So your requirement could not be reached currently.

Ground Controller Lvl 1
Message 3 of 3

Re: Step conditional on status transition from failure() to success()?

Any plans for such a feature? This is the only annoyance we have ran into while transitioning away from Travis. A verified/endorsed action for Slack notifications would be nice as well.