Add:SonarQube scan script
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
source ~/dev-platform/.env
|
||||
|
||||
docker run --rm \
|
||||
--network dev-platform_default \
|
||||
-e SONAR_HOST_URL="https://sonarqube.mota-thomas.com" \
|
||||
-e SONAR_TOKEN="${SONAR_TOKEN}" \
|
||||
-v "$(pwd):/usr/src" \
|
||||
sonarsource/sonar-scanner-cli
|
||||
Reference in New Issue
Block a user