-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: pipeline-stage-view-plugin
-
None
This line seems to fail to the âelseâ clause which doesnât display the log link:
https://github.com/jenkinsci/pipeline-stage-view-plugin/blob/35de9f668c0aec5bd4560884b61f94f335579987/ui/src/main/js/view/templates/stage-logs.hbs#L4
Â
The odd thing is that if you lookup âthis._links.log.hrefâ it does appear as a valid value. You can get these urls from inspecting the html.
Â
I suspect it is temporarily null, but iâm not sure why. The null result gets stored in this plugins caching layer. If I clear the cache and reload the stage view page, the log links get rendered.Manage Jenkins > Script Console
- print cache
println(com.cloudbees.workflow.flownode.FlowNodeUtil.CacheExtension.all().get(0).getRunCache().asMap())
- delete cache
com.cloudbees.workflow.flownode.FlowNodeUtil.CacheExtension.all().get(0).getRunCache().invalidateAll()
Â
Â