10x man
💪💪💪

On Tue, Dec 10, 2019 at 10:50 AM Mark Waite <mark.earl.wa...@gmail.com>
wrote:

> Maven surefire plugin has an argument that tells it to not fail the build
> when tests fail.  Pass that argument.
>
> Use the Jenkins junit plugin to process and display the test results.  It
> will mark the build as "unstable" if tests fail.
>
> On Tue, Dec 10, 2019 at 9:47 AM Asi Hizkiahu <asi.hizki...@jetpatch.com>
> wrote:
>
>> I am using Jenkins version 2.190.2
>> Using  Junit 4.11
>> Using  Maven 3.50
>> Using  Java JDK 1.8
>>
>> I have an issue, in Jenkins,  when Junit tests fail, the job is in a
>> failed state, not in unstable one.
>>
>> I tried from Java to do System.exit (2) when I recognized that tests
>> where failing, but it didn't work.
>>
>> Is there a java way, maven command, job configuration, or a combination
>> between them, that can help me?
>> Help will be appreciated...
>>
>>
>>
>> The information transmitted is intended only for the person or entity to
>> which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of, or
>> taking of any action in reliance upon, this information by persons or
>> entities other than the intended recipient is prohibited. If you received
>> this in error, please contact the sender and delete the material from any
>> computer.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/4204be77-12a6-42fb-8e36-d4aeea09f25d%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/4204be77-12a6-42fb-8e36-d4aeea09f25d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Thanks!
> Mark Waite
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEUnRVBCc_mTz-T0oEbYUv9JDUfTeR4HDa6L3GmhMTVqw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEUnRVBCc_mTz-T0oEbYUv9JDUfTeR4HDa6L3GmhMTVqw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material. Any review, retransmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
computer.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG-nO%3DwH-Q2Fa%3DPGrA6pvKcYgGp1qX_cKjjxr0SLyhE5NdC2Ug%40mail.gmail.com.

Reply via email to