我添加了一个构建步骤来执行Python脚本. 在这个脚本中,使用lint.Run(.. args)调用pylint来检查代码. 该脚本可以工作,但最终,构建失败并显示唯一的错误消息:
Build step 'Execute Python script' marked build as failure
有人知道为什么会这样吗?
python pylint jenkins
jenkins ×1
pylint ×1
python ×1