When compiling using build-wrapper-linux-x86-64 to be able to analyze c/c++ code I get an empty build-wrapper-dump.json. This only happens on amazonlinux, running the same command in ubuntu works as expected.
This is the version of build-wrapper that I’m using:
build-wrapper, version 6.13 (linux-x86)
What I get in build-wrapper-dump.json is:
[builds@dma-dev-build build_output]$ cat build-wrapper-dump.json
© SonarSource SA, 2014-2020, info@sonarsource.com
All SONARSOURCE programs and content are copyright protected.
SONARSOURCE and SONARQUBE are trademarks of SonarSource SA. All rights are expressly reserved.
This file is designed exclusively for use with the SONARSOURCE C / C++ / Objective-C Plugin.
It may not be used in connection with any other software.
Any other use is prohibited by law and may be grounds for immediate termination of your License.
{
“version”:0,
“captures”:[
]}
The sonar-project.properties file:
sonar.sources=/app/builds/jenkins/nightly-builds/dma
sonar.cfamily.build-wrapper-output=/app/builds/jenkins/nightly-builds/dma/dma-db/master/build_output
Encoding of the source files
sonar.sourceEncoding=UTF-8
attached the build-wrapper.logs filebuild-wrapper.log (258.5 KB)