简体   繁体   English

Sonar Gerrit插件在更改时不发布评论LinesOnly == true

[英]Sonar Gerrit plugin not posting comments when changedLinesOnly == true

I'm using Sonar Gerrit plugin for Jenkins and it works fine in its default mode ( changedLinesOnly == false, isNew == false ). 我使用的是Jenkins的Sonar Gerrit插件,它在默认模式下正常工作( changedLinesOnly == false,isNew == false )。

However, when I'm enabling changedLinesOnly == true , all issues vanish, even those that were added in the Gerrit patch (eg unused variable). 但是,当我启用changeLinesOnly == true时 ,所有问题都消失了,即使是那些在Gerrit补丁中添加的问题(例如,未使用的变量)。

Is this a bug, or perhaps I'm missing something? 这是一个错误,还是我错过了一些东西?

Components versions: 组件版本:

Jenkins: : 2.95 詹金斯 :: 2.95

Gerrit: : 2.13.4 Gerrit :: 2.13.4

Sonar-Gerrit: 2.1 声纳-格里特 2.1

Thanks. 谢谢。

I could reproduce the issue here with: 我可以在这里重现该问题:

Jenkins     : 2.73.1
Gerrit      : 2.14.3
Sonar Gerrit: 2.2.1

This worked nicely before (I don't remember the versions)... it seems like a bug to me. 这在以前很不错(我不记得版本)了……对我来说似乎是个错误。

The issue was fixed in v2.3 of SonarGerrit plugin. 该问题已在SonarGerrit插件v2.3中修复。 Tatiana, thank you for fixing this! 塔蒂亚娜,谢谢你解决这个问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM