On 30/01/2012, at 3:18 PM, Dmytrii Nagirniak wrote: > > On 30/01/2012, at 3:13 PM, Paul Annesley wrote: > >> * PASS if all commands return a zero exit code. >> * FAIL on the first command that does not. > > Isn't it what "set -e" in bash does? >
Yep. So you could write your build steps as a bash script under `set -e`. But Jenkins lets you easily specify multiple build steps, and this gives it more knowledge of which step failed, which can make the build failure emails a bit clearer. Tangent: for even faster failure feedback, I use `rspec --fail-fast`. -- Paul -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
