-
Notifications
You must be signed in to change notification settings - Fork 81
Question: How to overwrite previous SonarQube analysis overviews #205
Comments
|
Yeah, I have this set. For some reason, it wasn't removing the comment for the overviews. I removed the duplicates manually and I no longer see this, but I think there's some sort of bug with this. I'll report back, if it re-occurs. |
IIRC the matching happens purely on the name of the user used by |
No, it's under the same one, because I have a Sonar token. |
Yeah, it seems to be re-occurring. |
Which SQ, sonar-stash and bitbucket versions? |
|
What is the complete executed command? |
I'm using Gradle for this. The project is a Scala one. The command:
The are the properties inside my
|
Does the name of the stash user contain any non-ascii/non a-zA-z characters? |
Ok, this is only implemented for the inline comments, not the overview comment. (Also it should be |
Right... What's the difference between the inline and overview comments exactly? Perhaps we should switch to inline ones?
Yeah, sorry, I was quoting this one off the top of my head. (We've actually re-worked the plugin to use SPNEGO/KERBEROS, so there are actually no credentials, just a username, as that's still needed when posting the comments to Stash). |
Overview is one big mentioning everything. Inline is one comment per issue per line directly in the diff view.
That would have been a nice contribution :-) |
We've actually been thinking of contributing it. The problem is that at the moment, it's using an in-house library for the SPNEGO authentication/authorization to Kerberos. We would be more than happy to contribute this back, if you're open to it, but it also involves fixing the If you're open to such a conttibution, we'll try and prepare something for you, but it might take a while. |
Given that |
Is there a property that I'm not aware of that would allow youto tell the
sonar-stash
plugin to overwrite the previous SonarQube analysis overview comment? I mean, with multiple re-runs, you get multiple SonarQube analysis overview comments and that adds a lot of noise. Of course, some people might want to see how these numbers changed while the work was ongoing, but in my opinion, it's a lot of noise, if you have many commits.The text was updated successfully, but these errors were encountered: