I’d like to add this to our Jenkins pipeline, scanning C++ projects.
Currently, the scanning step looks like this:
bat_start_cmd = "${sqScannerMsBuildHome}\\SonarScanner.MSBuild.exe begin /k:${sonar_groupId}:${sonar_artifactId} " +
"/n:\"${sonar_name}\" /v:${sonar_version} " +
"/d:sonar.dotnet.excludeTestProjects=true " +
"/d:sonar.sources=.\\ " +
"/d:sonar.branch.name=${sonar_branch} " +
"/d:sonar.login=${env.SONAR_AUTH_TOKEN} "
bat bat_start_cmd
maven.withGoals('compile').execute()
bat "${sqScannerMsBuildHome}\\SonarScanner.MSBuild.exe end /d:sonar.login=${env.SONAR_AUTH_TOKEN}"
I am trying to use SonarSource Build Wrapper
We compile 99% of the code on windows and use maven. How do we combine it with this step?
build-wrapper-win-x86-64.exe --out-dir build_wrapper_output_directory MSBuild.exe /t:Rebuild /nodeReuse:False
Will such a call allow you to scan the JavaScript, TypeScript code?
SonarQube version: 9.8.0.63668