Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
Jenkins 2.117
Blue Ocean 1.5
-
-
1.14.0
Description
Steps to reproduce using two jobs:
- First job: triggers the second job (wait = true)
- Second job: record unit tests
- Open Blue Ocean from the first job, click Triggered Builds to access the second job
- The Tests tab will say no results are recorded
- Exit Blue Ocean, and access it again from the second job
- The Tests tab will show results
I noticed this happening both while the job was running and complete.
Attachments
Issue Links
- is related to
-
JENKINS-51110 no test results visible in blueocean when following link from classic -> BO
-
- Resolved
-
-
JENKINS-55497 BlueOcean Pipeline View for the Latest Run shows No Changes
-
- Resolved
-
I don't believe my change would have fixed this issue. It sounds like a similar bug though (retrieving and caching the run summary for the last run of a project leads to false cache hit when retrieving the full details for the same run). This code snippet looks suspicious:
https://github.com/jenkinsci/blueocean-plugin/blob/3f049df3d253727d021e95ee53a4d1be228bf8cf/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/rest/AbstractPipelineImpl.java#L106
halkeye could you take a look / comment on this?