jenkinsci / violation-comments-to-stash-plugin

Comments Bitbucket Server (or Stash) pull requests with static code analyzer findings.
https://plugins.jenkins.io/violation-comments-to-stash
MIT License
43 stars 16 forks source link

warnings lost, or added as general comments #79

Open pjaitken opened 2 years ago

pjaitken commented 2 years ago

Out of nine new warnings to be added, four are added as file comments as expected, four are unexpectedly added as general comments, and one is lost entirely - no comment is added to the PR.

I can see the POST REST API being called nine times.

How can I debug this further?

Thanks.

tomasbjerre commented 2 years ago

How did you configure the plugin? You may also try the command line tool. It is the same code but easier tonfiddle with locally without Jenkins. https://github.com/tomasbjerre/violation-comments-to-bitbucket-server-command-line