Jenkins with pylint gives build failure

后端 未结 8 1021
天命终不由人
天命终不由人 2021-01-04 12:25

I added a build step to execute a Python script.
In this script pylint is called with the lint.Run(..args) to check the code.
The script works but in the end, the bu

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-04 12:44

    You can also simply put a

    pylint || exit 0

    in the shell cmdline. The Pylint plugin will fail the build anyway by checking the result of pyllint.

提交回复
热议问题