If you use CI Hudson for instance you have the ability to send an e-mail when there are test failures etc. Hudson also has the ability to use an advanced e-mail plugin in which you are able to address the content of the message, e-mail groups etc.
Hugo Wayne Fay wrote: > >> Hi , I want to send mail when the tests fail. The build wont fail since I >> have set testFailureIgnore=true. >> Is there a way to achieve this i maven? > > Traditionally, this would be a function handled by your Continuous > Integration server, not your Build Tool. So this is not really a Maven > function IMO. You could possibly write a plugin that would run after > test phase but I'm not sure what properties it would need to look for > to know if there were errors or not. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://www.nabble.com/Sending-Mail-only-when-test-fails-tp22985997p22991907.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
