Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test case failure triggers maven build failure #6

Open
GoogleCodeExporter opened this issue Jan 1, 2016 · 1 comment
Open

test case failure triggers maven build failure #6

GoogleCodeExporter opened this issue Jan 1, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Since version 1.2, any test case failure by default triggers maven build 
failure. This is not expected in all the cases. For example, if a Jenkins build 
is unstable (which means build successful but test cases failure, Jenkins will 
display the failed test cases on the job front page. If the build is failure, 
it will not display the failed test cases on the job front page. 

So I add a new parameter "failBuildOnTestFailure" in the configuration to 
enable this maven build failure trigger. Default value is true which means the 
current behavior will not change. Any test case failure continue triggers maven 
build failure. But you can set it as false to turn off the trigger.

Here I attach the diff. 

Original issue reported on code.google.com by henryzho...@gmail.com on 9 May 2013 at 6:46

Attachments:

@GoogleCodeExporter
Copy link
Author

I have UTPLSQL maven plugin version 1.31. But the build is failing if any one 
of the test cases fails. please let me know if this issue is fixed in any of 
the versions. or suggest me on this?

Original comment by santotho...@gmail.com on 14 Jul 2015 at 4:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant