Blue Ocean view does not load or takes a long time to load

Issue

While opening the Blue Ocean view, you can see that the view does not finish loading or takes a long time to load.

Environment

Resolution

If you are not getting any errors during the loading process of the view, this is most likely related to the size of the information to be loaded. This will be determined by both the number of pipelines to be loaded as well as by the build data that every pipeline holds.

In order to improve the speed of the overall process, one thing that you can do is to start your instance with the following property: -Dblueocean.collectRuns.threads=X, where X is a number higher than 1. As an example, you can use -Dblueocean.collectRuns.threads=50, but the value might need to be adjusted up or down depending on your instance resources. You can check How to add Java Arguments to Jenkins for additional details on how to do it.

Workaround

If the reason for the data not showing is related to the size of the information to be loaded, then you should be able to use the text search box to narrow down the number of pipelines to be loaded.

Tested product/plugin versions

References

Have more questions?

0 Comments

Please sign in to leave a comment.