Jenkins sets health thresholds

Is there a way to change how Jenkins calculates build health based on failed tests? I would like Jenkins to view any failed tests as something other than “sunny,” but so far my search for a way to do this has been fruitless. Does the standard setting provide this level of control, or can there be plugins that can do this?

+4
source share
1 answer

If you use the xUnit plugin that supports several test report formats, you can add a post-assembly action to analyze assembly test reports and declare the assembly unstable or unsuccessful depending on the number of tests that failed or failed.

+4
source

All Articles