diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/docker-compose-sonar.yml | 5 | ||||
-rwxr-xr-x | scripts/run-sonar.sh | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/docker-compose-sonar.yml b/scripts/docker-compose-sonar.yml index 52fceded4..d400d7517 100644 --- a/scripts/docker-compose-sonar.yml +++ b/scripts/docker-compose-sonar.yml @@ -6,6 +6,11 @@ services: dockerfile: scripts/Dockerfile.sonarcloud container_name: sonarcloud hostname: sonarcloud + environment: + API_TOKEN: $API_TOKEN + SONAR_HOST_URL: $SONAR_HOST_URL + PROJECT_KEY: $PROJECT_KEY + PROJECT_ORGANIZATION: $PROJECT_ORGANIZATION volumes: - ..:/workspace command: diff --git a/scripts/run-sonar.sh b/scripts/run-sonar.sh index b1b280518..529a848d8 100755 --- a/scripts/run-sonar.sh +++ b/scripts/run-sonar.sh @@ -1,7 +1,7 @@ #!/bin/bash # SONAR_HOST_URL=https://sonarcloud.io -# PROJECT_KEY=fdio_hicn +# PROJECT_KEY=fdio-hicn # PROJECT_ORGANIZATION=fdio export SONAR_TOKEN=$API_TOKEN |