-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.107.3
Matrix Project Plugin 1.13
JUnit Plugin 1.24
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the Health report amplification factor configured in the job.
A factor of 0 also does not disabled test health reporting as advertised.
Steps to reproduce
- Create a new Multi-Configuration Project.
- Add an arbitrary (e.g userdefined) axis with one or more values.
- Add a build step that creates a JUnit result file:
<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>
- Add Publish JUnit post-build action.
- Set Health report amplification factor to any value other than 1.0.
- Run the project.
- Observe the weather report.
[JENKINS-51392] JUnit Health report amplification factor ignored in matrix projects
Description |
Original:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 does not disabled test health reporting as advertised. |
New:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 does not disabled test health reporting as advertised. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: <?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites> # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
Description |
Original:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 does not disabled test health reporting as advertised. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: <?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites> # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
New:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: <?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites> # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
Description |
Original:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: <?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites> # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
New:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: {noformat}<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>{noformat} # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
Description |
Original:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a New Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: {noformat}<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>{noformat} # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
New:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a new Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: {noformat}<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>{noformat} # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
Description |
Original:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a new Multi-Configuration Project. # Add a arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: {noformat}<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>{noformat} # Add Publish JUnit post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |
New:
When using a matrix project, the weather report always uses a factor of 1.0 for test results, regardless of the _Health report amplification factor_ configured in the job. A factor of 0 also does not disabled test health reporting as advertised. h3. Steps to reproduce # Create a new Multi-Configuration Project. # Add an arbitrary (e.g userdefined) axis with one or more values. # Add a build step that creates a JUnit result file: {noformat}<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite errors="0" failures="1" name="" skipped="0" tests="2"> <testcase classname="test" name="success" /> <testcase classname="test" name="failure"> <failure>This test failed.</failure> </testcase> </testsuite> </testsuites>{noformat} # Add _Publish JUnit_ post-build action. # Set _Health report amplification factor_ to any value other than 1.0. # Run the project. # Observe the weather report. |