phallstrom / slackistrano

Slack integration for Capistrano deployments.
MIT License
374 stars 74 forks source link

Send message when deploy errors out #3

Closed turnerking closed 10 years ago

turnerking commented 10 years ago

From inside slack, it looks off when there's a couple starts in a row with no signs of why there were two starts

phallstrom commented 10 years ago

I agree but not sure we can trap and catch those errors. Are yours failing due to am exception or because a command failed and Capistrano quit?

On Apr 16, 2014, at 12:01 PM, Turner King notifications@github.com wrote:

From inside slack, it looks off when there's a couple starts in a row with no signs of why there were two starts

— Reply to this email directly or view it on GitHub.

turnerking commented 10 years ago

Running Capistrano 3.1 A command done via SSHKit failed and killed the deploy. It looks like as of version Capistrano 3.1 via this PR: https://github.com/capistrano/capistrano/pull/756, there is now deploy:failed task which can be hooked into to do post failure tasks

phallstrom commented 10 years ago

@turnerking Thanks for the pointer. I've pushed 0.0.8 to rubygems. Let me know if you have any issues with it.