summaryrefslogtreecommitdiffstats
path: root/scripts/run-sonar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-sonar.sh')
-rwxr-xr-xscripts/run-sonar.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/run-sonar.sh b/scripts/run-sonar.sh
index 529a848d8..383d03273 100755
--- a/scripts/run-sonar.sh
+++ b/scripts/run-sonar.sh
@@ -17,6 +17,9 @@ export PATH=$HOME/.sonar/build-wrapper-linux-x86:$PATH
cd /workspace
+git config --global --add safe.directory /workspace
+git config --global --add safe.directory /workspace/cmake
+
$HOME/.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output make build
$SONAR_SCANNER_HOME/bin/sonar-scanner \