Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Currently if 20% or more of tests fail, the weather for a project will be downgraded (cloudy).
Some users have a large number of tests and one test failure is a major issue.
The request is to allow customization of the % of Junit test failures that will cause a weather downgrade. Users that specify 100% pass require all tests to pass to maintain sunny weather.
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
src/main/resources/hudson/tasks/junit/JUnitResultArchiver/config.jelly
src/test/java/hudson/tasks/junit/JUnitResultArchiverTest.java
src/test/resources/hudson/tasks/junit/JUnitResultArchiverTest/MockTestDataPublisher/config.jelly
http://jenkins-ci.org/commit/junit-plugin/e6416e34c0987a839d3dc2a34938dd1d2ac0d035
Log:
[FIXED JENKINS-24006] Changes to healthScaleFactor were not actually being saved.
Ripping out the archaic manual form binding code and replacing with the modern simplified scheme.