I am using sonarlint for a C project on eclipse oxygen 4.7.0 and sonarlint 3.2.0 on linux.
I am trying to use the sonar assembly shell using sonarlint, but when I add the property: sonar.cfamily.build-wrapper-output = bw_output, as shown in the image below, I do not get anything displayed in the sonarlint report.
sonarline analyzer properties
The following is an extract of the sonarlint console with an activated shell assembly:
Using build-wrapper output:
/home/developpeur/workspace/aulnoye-vog-pulse_indus-c/bw_output/build-wrapper-dump.json
Run the sensor: XmlFileSensor analyzed 0 compilation units Found 0 issue (s)
When I remove the sonar.cfamily.build-wrapper-output property, I get a sonarlint report and this is in the console:
Run sensor: XmlFileSensor found 11719 question (s)
Download server problems for the aulnoye-vog-pulse_indus-c project
26 compilation units were analyzed.
I would like to use the build assembly because there are many false positives of this rule “Make the prototype of this function visible at this moment” when I started the analysis without it. These false detections disappear when I run the analysis using the sonar scanner and the wrapper assembly.
What can prevent me from getting results in a sonarlint report using the assembly shell?
source
share