Chr*_*lli 7 jenkins jenkins-pipeline jenkins-blueocean
我刚刚在我已使用多年的现有Jenkins实例上安装了Blue Ocean.登陆页面没有加载,我收到以下错误,我没有成功找到SO或其他谷歌搜索的答案.我在Jenkins构建2.107.3,Blue Ocean 1.6.1.
我能够成功创建一个新的管道,但当我回到这个页面时,它永远不会完成加载.
有没有人遇到过这个错误,或者有关于如何进行调试的建议?
blueocean-core-js.js:57883 Error fetching page TypeError: Cannot read property 'self' of undefined
at ActivityService.bunkerKey (blueocean-core-js.js:57207)
at ActivityService.setItem (blueocean-core-js.js:57250)
at executeAction (blueocean-core-js.js:40729)
at ActivityService.res (blueocean-core-js.js:40701)
at PipelineService._this.bunkerMapper (blueocean-core-js.js:58214)
at PipelineService.setItem (blueocean-core-js.js:57249)
at executeAction (blueocean-core-js.js:40729)
at PipelineService.res (blueocean-core-js.js:40701)
at blueocean-core-js.js:57268
at Array.map (<anonymous>)
at PipelineService.setItems (blueocean-core-js.js:57267)
at blueocean-core-js.js:57867
at executeAction (blueocean-core-js.js:40729)
at res (blueocean-core-js.js:40701)
小智 5
是的 - 这是 Jenkins 的一个错误(我们肯定需要在该 Bunkerkey 函数中进行空检查)。
我能够通过删除使用不存在的“LastSuccessFullBuild”文件夹快捷方式的旧作业来解决此问题。(我实际上删除了整个遗留/禁用的作业)。
您可以通过在浏览器工具中的 ActivityService.bunkerKey (blueocean-core-js.js:57207) 处放置断点并在抛出之前检查“data”对象来确定哪个作业导致了 js 错误。一旦您知道了有问题的作业,如果您可以将其删除,那么您就完成了。否则,您可能必须运行它/更改它才能生成正确的链接。
享受!
归档时间: |
|
查看次数: |
1968 次 |
最近记录: |