-
Notifications
You must be signed in to change notification settings - Fork 81
Can't get sonar-stash to add comments #204
Comments
Which version of sonarqube/stash/sonar-stash are you using? |
Hey @t-8ch That would be: SonarQube 6.7.2 Don't know where I can view the version of sonar-stash? Bitbucket / SonarQube are managed by the IIT departement, I can ask |
It is reported in the sonar-scanner output. |
It's a POC but I am setting it up as multi module yes:
|
|
Then you should probably look at the FYI sonar-stash will stop working as soon as you upgrade to SonarQube 7.7, so I would advise against a new deployment. Also 1.3.0 is quite old. |
Yup I saw the reasoning, not sure when the upgrade here is about to happen but I dont see it happening this year, so if we can get those PR remarks for a year then thats at least a win :)! I will switch to single module! Will ask the IIT department to upgrade the stash plugin as well |
It should be set to the root of the repository for multi-module projects. |
Switched to single module. Didn't fix it sadly enough though I will try out with a local SQ instance and version 1.3.0 and 1.6.0 to see if one of them works :) |
Worked for me on a multimodule maven project. I was missing I am running the mvn command in the root directory of the maven project and referencing a pom.xml of one of the underling modules. Looks in the docker multistage file (which is used within a jenkins pipeline) like this:
|
We have sonar installed and the sonar stash plugin as well, but when using the plugin, we only get the overview comment and not the comments inline on the diff view.
Our setup:
Jenkins with a pipeline step for develop:
Jenkins with a pipeline for the PR:
It also seems that even when adding an obvious nullpointer exception, it states "No new issues detected!"
Any guidelines on how to debug?
The text was updated successfully, but these errors were encountered: