git - Jenkins Console Output Format
问题描述
When I prepare a job which includes "helm diff" or "git diff", the output format is too difficult to read(it is just plain-text) and there must be a plugin or a way to see these kinds of outputs in a better format even as a colourfull format. Could you help me to find a solution for that?
解决方案
是的,“AnsiColor 插件”帮助了我,但正确的“ansiColor('xterm')”配置花了我这么多时间
下面的配置解决了我的问题
ansiColor('xterm') { sh "command" }
下面的配置对我不起作用
options { ansiColor('xterm') }
推荐阅读
- ruby-on-rails - 修复不一致的路线名称(Rails)
- radio-button - 如何测试收音机中的项目
- javascript - 如何在css网格中显示一些项目,直到看到更多按钮被按下?
- python - 当有人使用 discord.py 发送消息时如何执行操作?
- python - 通过 pandas read_html 获取 HTML 表格不起作用
- node.js - How can i simplify checking if a value exist in Json doc
- sql - 选择 sum sqlite 的最大值
- sql - 如何识别铸造列的错误?
- python-3.x - 使用 Python 根据列(4 列)的组合和金额(1 列)列的总和进行分组的最简单方法是什么?
- c++ - 在进入方法中推送新状态时状态机中的 unique_ptr 状态对象生命周期