Thanks I m using Jenkins and hopefully will find a plugin for junit but how can I extract the compilation error from buildr output? I prefer to send the exact line and not the full trace
Odelya On Aug 17, 2012, at 2:33 AM, Alex Boisvert <alex.boisv...@gmail.com> wrote: > These kinds of things are usually handled by your continuous-build system > (e.g. Hudson/Jenkins, Luntbuild/Quickbuild, ...) > > Buildr returns a non-zero error code when the build fails (incl. junit > failure) which is caught by these tools and many of them have plugins to > look into generated JUnit reports so you can see which tests failed and > easily jump to a stack trace, and so on. > > alex > > > On Thu, Aug 16, 2012 at 4:12 PM, Odelya Holiday <ode...@alicanto.com> wrote: > >> Hi >> >> I would like to send an email in case of failed compilation or junit. >> >> I saw in the documentation an ability to check if a jar exists but how do >> u suggest to retrieve the error in creating the jar or war and send it? >> >> As well is there an out of the box way to send email with the junit result >> when they fail? >> >> >> Odelya