I am sorry but I think your message seems blank. Did you write something?

On Tuesday, April 30, 2019 at 6:21:11 AM UTC-7, Ullrich Hafner wrote:
>
>
>
> Am 29.04.2019 um 22:25 schrieb [email protected] <javascript:>:
>
> JUnit is defintiely setting the build status to UNSTABLE when the only 
> test which got executed failed:
>
> Erorr output: 
>
>                     "Build step 'Publish JUnit test result report' changed 
> build result to UNSTABLE"
>
>
> I am guessing that means there is something in JUnit reporter which can set 
> the build status to pass or fail.
>
>
>
> Yes: it sets the status to UNSTABLE or SUCCESS. But never to FAILED.
>
> --Ishan
>
>
> On Saturday, April 27, 2019 at 6:32:53 AM UTC-7, Ullrich Hafner wrote:
>>
>> The JUnit plugin cannot set the build result to failed. The unstable 
>> state is a feature of Jenkins.
>>
>> (If you need to set the build to failed you can do this with your build 
>> tool, but I would not recommend to do it)
>>
>> Am 27.04.2019 um 00:27 schrieb [email protected]:
>>
>> Hi,
>>
>> So I am using the Jenknis JUnit plugin to parse the test results. I have 
>> a job which has just one test and it fails all the time however, the JUnit 
>> plugin marks the job as unstable and not failed. Any reasons why? I have 
>> tried to set the Health report amplification factor to 1, 0.1, 0.0 but 
>> no luck. 
>>
>> How can I get the JUnit to fail the build?
>>
>> Thanks,
>> --Ishan
>>
>> -- 
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/907f0d07-ed2d-427e-9649-ddb1caebb457%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/907f0d07-ed2d-427e-9649-ddb1caebb457%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
> -- 
> 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1835afb9-ee4e-46c9-8d12-03c5b9b5a920%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/1835afb9-ee4e-46c9-8d12-03c5b9b5a920%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ff7c8568-5d0f-4b09-b9ad-e3af24c14b28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to