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 <[email protected]> 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
