Add:SonarQube scan script

This commit is contained in:
2026-04-27 21:47:16 +00:00
parent 8955a5cc5c
commit 1eaa45feec
2 changed files with 14 additions and 2 deletions
+11
View File
@@ -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