[jbossts-issues] [JBoss JIRA] (JBTM-1265) QA build does not cause build fail when tests fail

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Fri Sep 21 09:38:34 EDT 2012


    [ https://issues.jboss.org/browse/JBTM-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720643#comment-12720643 ] 

Tom Jenkinson commented on JBTM-1265:
-------------------------------------

The issue is for IDL you are calling target="junit-jts-testsuite" in narayana.sh, which does not have a "<fail" task in it.

You need to wrap junit-jts-testsuite in a new target that you can call which will:
<fail if="failed-tests" message="some tests failed"/>

You can't put it at the end of junit-jts-testsuite as if you do, the build will fail before running all the tests we would like
                
> QA build does not cause build fail when tests fail
> --------------------------------------------------
>
>                 Key: JBTM-1265
>                 URL: https://issues.jboss.org/browse/JBTM-1265
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Tom Jenkinson
>            Assignee: Michael Musgrove
>             Fix For: 4.17.0
>
>
> http://172.17.131.2/job/btny-pulls-narayana/122/console
> Grep for FAILED

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list