-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins LTS 1.596.2 / Linux
Since junit-1.2, neither the "Latest Test Result" information nor the "Test Result Trend" plot appear on the project page _if there is not at least one build in non-failed state.
See screenshots below for an example: after deleting unstable build #11, the abovementioned items disappear.
The problem did not exist when the plugin was still included in Jenkins (1.576), nor does it exist in versions 1.0 and 1.1 of the plugin. I suspect that this behaviour was introduced with commit 4ba5a49 ("JENKINS-23713 Compatibility with SimpleBuildStep."), but unfortunately I cannot find the exact root cause within that commit.
This problem is not only related to the JUnit plug-in. In general, every plug-in that has been migrated its actions to a SimpleBuildStep has this problem. The affected source code is in SimpleBuildStep.
A test case that exposes this bug is WarningsPluginTest#should_not_skip_failed_builds_with_option_run_always
See also the corresponding mailing list discussion.
- blocks
-
JENKINS-31202 Trend Graphs are not shown in Job view for Workflow builds
-
- Resolved
-
- is blocking
-
JENKINS-23713 Remove AbstractProject-ness from BuildStep
-
- Resolved
-
[JENKINS-28479] ProjectActions (and trend graphs) do not appear for failed projects
Attachment | New: patch.txt [ 29837 ] |
Link |
New:
This issue is blocking |
Labels | New: regression |
Workflow | Original: JNJira [ 163319 ] | New: JNJira + In-Review [ 181179 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: junit-plugin [ 15499 ] | |
Description |
Original:
Since junit-1.2, neither the "Latest Test Result" information nor the "Test Result Trend" plot appear on the project page _if there is not at least one build in non-failed state_. See screenshots below for an example: after deleting unstable build #11, the abovementioned items disappear. !withTrend.png|thumbnail! !withOutTrend.png|thumbnail! The problem did not exist when the plugin was still included in Jenkins (1.576), nor does it exist in versions 1.0 and 1.1 of the plugin. I suspect that this behaviour was introduced with commit 4ba5a49 ("[ Thanks for checking! /alex |
New:
Since junit-1.2, neither the "Latest Test Result" information nor the "Test Result Trend" plot appear on the project page _if there is not at least one build in non-failed state. See screenshots below for an example: after deleting unstable build #11, the abovementioned items disappear. !withTrend.png|thumbnail! !withOutTrend.png|thumbnail! The problem did not exist when the plugin was still included in Jenkins (1.576), nor does it exist in versions 1.0 and 1.1 of the plugin. I suspect that this behaviour was introduced with commit 4ba5a49 ("[ This problem is not only related to the JUnit plug-in. In general, every plug-in that has been migrated its actions to a SimpleBuildStep has this problem. The affected source code is in [SimpleBuildStep|https://github.com/jenkinsci/jenkins/blob/8242e0eb1625454ae5539c444c8d8ecf99a70b62/core/src/main/java/jenkins/tasks/SimpleBuildStep.java#L119-L121]. A test case that exposes this bug is [WarningsPluginTest#should_not_skip_failed_builds_with_option_run_always|https://github.com/jenkinsci/acceptance-test-harness/blob/master/src/test/java/plugins/WarningsPluginTest.java#L619] See also the corresponding [mailing list discussion|https://groups.google.com/forum/#!topic/jenkinsci-dev/j38TfS6ymJ8]. |
Labels | Original: regression | New: pipeline regression |
Summary | Original: "Latest Test Result" text and "Test Result Trend" plot do not appear for projects which always fail | New: ProjectActions (and trend graphs) do not appear for projects which always fail |
Summary | Original: ProjectActions (and trend graphs) do not appear for projects which always fail | New: ProjectActions (and trend graphs) do not appear for failed projects |
Link |
New:
This issue blocks |