如何使用推送到 Jenkins 的数据创建仪表板?

How to create a Dashboard using data pushed in to Jenkins?

我想知道是否可以在 Jenkins 上创建一个仪表板,使用我们每次 commit/push 保存在数据 sheet 中的统计信息?

谢谢!

有一个名为 Plot Plugin 的插件可以使用不同版本的文件创建图表。

This plugin provides generic plotting (or graphing) capabilities in Jenkins.

This plugin will plot one or more single values variations across builds in one or more plots. Plots for a particular job (or project) are configured in the job configuration screen, where each field has additional help information. Each plot can have one or more lines (called data series). After each build completes the plots' data series latest values are pulled from Java properties file(s), CSV file(s), or XML file(s) via an XPath (which you should have generated during the build) somewhere below you workspace. Data for each plot is stored in a CSV file within the job's root project directory.

It can generate various kind of plots, including Area, Bar, Line, Stacked Bar, Waterfall...

如果您需要不同的数据显示方式,您可以尝试 Summary Display Plugin,它也可以显示表格。