Files
test-app/scripts/sonar-scan.sh
T
2026-04-27 21:47:16 +00:00

12 lines
252 B
Bash
Executable File

#!/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