PyCharm offline inspections in TeamCity?

I am trying to set up offline inspections in TeamCity but have not found a good way to do so.

In TeamCity there is a "Inspections (IntelliJ IDEA)" build runner that apparently does not play well with PyCharm projects. I had zero luck in starting this runner due to build agent requirements that are not met.

Creating a command line runner that executes inspect.sh from PyCharm installation works fine though. The only problem is that I have not found a way to handle the inspection results. There are a number of XML report processors in TeamCity but none that handles and takes actions on PyCharm/IntelliJ inspections results as far as I can see.

Any ideas on how to solve this?
1
Avatar
Permanently deleted user
Interesting, I was just about to post a similar question.  I'm also running inspect.sh (inspect.bat on Windows) to collect inspections but I'm wondering how to get output in HTML format.

This link talks about manually exporting inspections as HTML:

http://www.jetbrains.com/pycharm/webhelp/exporting-inspection-results.html

I'd like to know how to do a similar "publish as HTML" option with the inspect.sh script.  Running --help on it doesn't say anything about the output format.
0

I am looking for a solution for this problem. Was it solved?

0

请先登录再写评论。