If your script exists posix status 1 (read: failure) then your recipe should stop, and rollback.
- Lee On 21 April 2010 05:17, Jean-Philippe Doyle <[email protected]>wrote: > Hello > > Anyone can help on how to abort deployment in a task of my recipe? > > I run a sh script of my unit tests and if I got any sterr output I > would like to cancel deployment. > > http://gist.github.com/373366 > > Thank you > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
