Alex Rivera | Logout

Jenkins with pylint gives build failure

Asked 2011-09-08T11:20:00.337
12

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 build fails with the only error message:

Build step 'Execute Python script' marked build as failure

Someone has an idea why this happens?

Edit
Report

1 Answer

2

Recent rylint have option for not calling sys exit

lint.Run(args, exit=False, **kwargs)
answered 2012-04-03T03:09:24.960

Your Answer