导出Jenkins报告给Excel [英] Export Jenkins reports to Excel

查看:388
本文介绍了导出Jenkins报告给Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是詹金斯的新手。我们每天晚上都有jenkins踢掉几个版本,我想把所有的构建中的失败都放在excel(或者是excel的google dox版本)中。有没有什么聪明的方法来做到这一点?感谢

解决方案

现在Jenkins集成了Groovy for Pipeline构建,或者只是简单的Groovy脚本,可以直接编写一些Groovy代码使用Apache POI库创建一个具有颜色,字体,亮点或任何您需要的正版Excel电子表格。


I am new to Jenkins. We have jenkins kicking off several builds every night and I want to pull the failures out from all builds and put them into excel (or google dox version of excel). Is there any smart way to do this? Thanks

解决方案

Now that Jenkins integrates Groovy for Pipeline builds, or just plain Groovy scripts, it is straightforward to write some Groovy code that uses the Apache POI libraries to create a genuine Excel spreadsheet with colors, fonts, highlights or whatever you need.

这篇关于导出Jenkins报告给Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆