Hudson 构建时趋势插件?
是否有一个插件可以让我为 hudson 构建创建一个“趋势”图,显示该项目的构建时间?
我的任务是加快构建速度,并且我想在加速过程中展示出良好的趋势。
Is there a plugin which would allow me to create a "trend" graph for a hudson build which shows the build time for that project?
I'm tasked with speeding up the build and I'd like to show a nice trend as I speed it up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是开箱即用的支持: http://SERVER/hudson/job/JOBNAME/buildTimeTrend
This is supported out of the box: http://SERVER/hudson/job/JOBNAME/buildTimeTrend
为了跟进 @Pascal 的答案,如果您想带此图表并更突出地显示它,您可以编辑职位描述并直接在其中添加图像,
这样您每次打开职位时都可以看到时间趋势。
To follow up from the @Pascal's answer, if you would like to bring this graph and show it more prominently you can edit the job description and add an image directly there
That way you can see the time trend every time you open the job.
要跟进 @Jamie Cooks 的答案,您不需要提供此图表的完整 url,您只需在工作描述中使用像这样的相对路径 -
这样做的好处是您不需要更改/为每个作业自定义 url。
此外,要在您的所有作业中启用此功能,您可以使用这个 groovy 脚本
To follow up from the @Jamie Cooks's answer, you don't need to provide full url for this graph, you can just use the relative path like this in your job description -
Benefit of this is that you don't need to change/customize the url for each job.
Moreover, to enable this on all your jobs you can use this groovy script