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?
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?
请先登录再写评论。
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.
I am looking for a solution for this problem. Was it solved?