Hi, thanks for the help, I tried to get the analysis log but it’s used on a CI and the log is mixed with other stuff, what I could see is a line in the log:
ANALYSIS SUCCESSFUL, you can browse [URL]
The URL above takes me to the dashboard for that particular PR with coverage problem. I guess that’s like a UI version of the textual analysis report, or does the analysis report provides more information other than what the dashboard shows?
Also:
More about the report processing at [URL]
The URL above shows me a JSON content with fields “task”, “analysisID”, “status”, etc, and the “status” is “SUCCESS”.
Below is the screenshot of the duplication on dashboard:
Thanks for the screenshot. That’s a good first step. Now we need the logs before we can progress. Where you saw the ‘ANALYSIS SUCCESSFUL’ line is the right place to look. See if you can just copy/paste from the analysis command through that message.
Thanks, the Sonar instance is executed via CI, so I don’t get much information apart from the generic logs, around ‘ANALYSIS SUCCESSFUL’ there are logs like:
Analysis report generated in Xms
Analysis report compressed in Yms
Analysis report uploaded in Zms
But I’ve finally figured it out! I had to add an dummy/empty element in the end of the parameter array, so for sonar.cpd.exclusion the last part looks like:
"**/*.html", ""
Looks like the last element is ignored, and I found it’s the same case also for scan and coverage exclusion.
So now the problem is solved, but why is this the case I’m not sure.