Re: Jenkins JUnit Plugin - Unstable issues

2019-05-07 Thread roel
You can use my shared library for this: https://github.com/roel0/jenkins-util-scripts Example usage: if (get_junit_results().failed.size()) { error "some tests have failed" // <- Will set build result to FAILED } -- You received this message because you are subscribed to the Google Groups

Re: Jenkins JUnit Plugin - Unstable issues

2019-05-07 Thread Ullrich Hafner
Yes: the plugin sets the status to UNSTABLE or SUCCESS. But never to FAILED. > Am 06.05.2019 um 22:17 schrieb cliffhanger...@gmail.com: > > Yes: it sets the status to UNSTABLE or SUCCESS. But never to FAILED. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Jenkins JUnit Plugin - Unstable issues

2019-05-06 Thread cliffhanger619
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 cliffha...@gmail.com : > > JUnit is defintiely setting the build status to UNSTABLE when the only > test which got

Re: Jenkins JUnit Plugin - Unstable issues

2019-04-30 Thread Ullrich Hafner
> Am 29.04.2019 um 22:25 schrieb cliffhanger...@gmail.com: > > 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" >

Re: Jenkins JUnit Plugin - Unstable issues

2019-04-29 Thread cliffhanger619
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 se

Re: Jenkins JUnit Plugin - Unstable issues

2019-04-27 Thread Ullrich Hafner
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 cliffhanger...@gmail.com: > > Hi, > > So I am

Jenkins JUnit Plugin - Unstable issues

2019-04-26 Thread cliffhanger619
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