mbateman / fitnesse-launcher-maven-plugin

Automatically exported from code.google.com/p/fitnesse-launcher-maven-plugin
0 stars 0 forks source link

Be able to break Maven build when a FitNesse test fails #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

It would be very nice if we had a parameter in plugin configuration that would 
allow us to break Maven build if any FitNesse test fails, which should be very 
useful when using this plugin on Jenkins or any CI tool.

The configuration parameter could be like 
<breakBuildOnFailure>true</breakBuildOnFailure> (spotted in the trinidad maven 
plugin).

Thanks.

Original issue reported on code.google.com by dbeauf...@octo.com on 16 Jul 2013 at 2:46

GoogleCodeExporter commented 8 years ago
Hi There,

This is done by including the 'verify' goal in the execution.

http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-lau
ncher-maven-plugin/verify-mojo.html

http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-lau
ncher-maven-plugin/running.html#Run_FitNesse_Automated_Integration_Tests_auto_mo
de

I will update the documentation to make this more clear.

Regards,

Stewart

Original comment by stewart@javahelp.co.uk on 16 Jul 2013 at 9:02

GoogleCodeExporter commented 8 years ago

Original comment by stewart@javahelp.co.uk on 29 Jun 2014 at 8:02

GoogleCodeExporter commented 8 years ago
Documentation on this has been added to the FAQ's.
http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-lau
ncher-maven-plugin/faq.html#fail

Original comment by stewart@javahelp.co.uk on 8 Jul 2014 at 10:42