Offline Inspections as html in commandline
Hello
Is ther a way to get the results of the offline inspections as html (also offline)?
I followed this instructions to run the inspections offline: https://www.jetbrains.com/help/phpstorm/2016.2/running-inspections-offline.html as a result I get xml.
If I run it in PhpStorm I have the Option to export it to HTML:
Inspection Result Window -> Export To -> HTML
Detail
My goal is to setup teamcity to run the php inspections and display the results in teamcity, the "Inspections (IntelliJ IDEA)" so far have ignored everything php so I want to use the offline inspections of phpStorm directly.
Thanks a lot for any sugesstions
Please sign in to leave a comment.
I found these two related posts, the mentioned offline inspection article seems to be exactly the same just in the IntelliJ IDEA Help
https://intellij-support.jetbrains.com/hc/en-us/community/posts/207071045-Is-it-possible-to-use-PhpStorm-inspection-results-for-continuous-integration-services-https://intellij-support.jetbrains.com/hc/en-us/community/posts/207060795-Inspections-run-from-command-line-output-readable-by-jenkins-hudson-
So, have you succeed in running the inspections via Command Line?
I've tried this under Windows, seems to work.
The command line works for generating XML output, but I'm trying to get the HTML output to display it as a report in teamcity
Sorry for not getting you right. No, currently it's not possible, and I could find no related existing requests, so please feel free to submit it as a new one:
https://youtrack.jetbrains.com/newIssue?project=IDEA&clearDraft=true&c=Type+Feature
Thank you, I created a request IDEA-163763 for this.
In the meantime I was able to convert the xml files to a html output using xsl and saxon.