You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
Prepare and submit a change containing sonar issues. Check the Sonar Comments in Gerrit
Retrigger the Gerrit event manually via Jenkins
Expected Results
There is only one comment for the sonar issue.
Actual Results
There are two comments for the sonar issue.
Anything else?
We use Jenkins 2.387.1 and Gerrit 3.6.4. We have the following Problem. Assume a Gerrit Change containing sonar issues. If the following patchsets do not fix the issues, then these issues are sent again to Gerrit and as a result, there are multiple comments for identical issues contained in Gerrit.
Is there a way to fix this issue by configuration?
I’ve tried out many things, but it seems that the there is currently no way.
I’ve compared the code of the Sonar-Gerrit-Plugin to the documentation of the Gerrit REST-API. Could it be that setting the field omit_duplicate_comments of the ReviewInput that is sent as payload of Set Review to true would solve the problem?
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
Expected Results
There is only one comment for the sonar issue.
Actual Results
There are two comments for the sonar issue.
Anything else?
We use Jenkins 2.387.1 and Gerrit 3.6.4. We have the following Problem. Assume a Gerrit Change containing sonar issues. If the following patchsets do not fix the issues, then these issues are sent again to Gerrit and as a result, there are multiple comments for identical issues contained in Gerrit.
Is there a way to fix this issue by configuration?
I’ve tried out many things, but it seems that the there is currently no way.
I’ve compared the code of the Sonar-Gerrit-Plugin to the documentation of the Gerrit REST-API. Could it be that setting the field omit_duplicate_comments of the ReviewInput that is sent as payload of Set Review to true would solve the problem?
The text was updated successfully, but these errors were encountered: