在jenkins中无法打开源码问题:
1. 在 Report Violations的 Source encoding 设置为 项目文件的编码, 如: utf-8. 缺省是 default。
2. 在 jenkins的shell中支持 pylint时,添加 --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" 参数
pylint $(find . -name "*.py" -print) --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" > pylint.log