导出Jenkins报告给Excel [英] Export Jenkins reports to Excel
本文介绍了导出Jenkins报告给Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
现在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屋!
查看全文