Code Inspections as pull request comment
Answered
Hi,
is it possible to create code comments on a pull request with the output of the (ReSharper) Inspections run by TeamCity?
Thanks,
Orange
Please sign in to leave a comment.
Hello Orange,
There is no such functionality in TeamCity as to open a new PR (it can merge one, though); however, I can see it potentially working if you:
1) run inspection as to have its output written to a specific file;
2) run a custom script which:
a) reads the data from inspection output file;
b) via REST API (or anyhow else) creates a PR on the target VCS side and uses the read data as a comment body.
Would something along these lines work for you?