问题描述
我设置了一个Jenkins服务器并创建了约1,000个作业。我遇到的问题是加载其首页大约需要5分钟,而加载其他页面(例如,配置页面)需要不到30秒。
原因是什么的这个问题?
创建一个更少作业的新视图,并将其设置为默认视图。 p>
如果您获得插件,您可以向其添加所有作业,并按状态过滤失败。这给你一个视图,你可以调用所有失败,它作为默认视图非常好。
除非,当然,你有1000失败的工作。
I setup a Jenkins server and created about 1,000 jobs. The problem I have is it takes roughly 5 minutes to load its homepage while takes less than 30 seconds to load other page (for example, configuration page)
What is the reason of this problems? Is there anyway to fix them?
Create a new view with fewer jobs and set that to be your default view.
If you get the Status View plugin, you can add all jobs to it, and filter by status "Failed". This gives you a view that you can call "All Failed" and it does very well as a default view.
Unless, of course, you have 1000 failed jobs..
这篇关于Jenkins的主页加载非常缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!