Sonar.cfamily.build-wrapper-output.bypass=true not working

sonarcfamily
sonarqube

(Shaun Wilde) #1

I am receiving this error even though I have /d:sonar.cfamily.build-wrapper-output.bypass=true is this a defect or something no longer supported?

     [exec] java.lang.UnsupportedOperationException: 'sonar.cfamily.build-wrapper-output' is mandatory
     [exec]  at com.sonar.cpp.plugin.R.A(na:1573)
     [exec]  at java.util.Optional.orElseThrow(Optional.java:290)
     [exec]  at com.sonar.cpp.plugin.R.execute(na:1573)
     [exec]  at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:45)
     [exec]  at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:88)
     [exec]  at org.sonar.scanner.phases.SensorsExecutor.lambda$execute$1(SensorsExecutor.java:65)
     [exec]  at org.sonar.scanner.phases.SensorsExecutor.withGlobalStrategy(SensorsExecutor.java:80)
     [exec]  at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:65)
     [exec]  at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:74)
     [exec]  at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:164)

(Loïc Joly) #3

Hello Shaun,

Could you please tell us which version of the CFamily plug-in you are using?

Bypassing the build wrapper has been deprecated for quite some time, and we strongly advise against doing that. In version 6.0 of CFamily (currently only available for SonarCloud users), we stopped supporting it.