diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 37b01e629..fa7ff0f39 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -41,6 +41,7 @@ jobs: export PROJECT_NAME="Standard Modules ${SAFE_BRANCH_NAME^}" export SOURCE_FOLDER_NAME="${BRANCH_NAME#master_}" export PROJECT_VERSION="1.0" + export SONAR_HOST_URL=${{ secrets.SONAR_HOST_URL }} export SONAR_TOKEN=${{ secrets.SONAR_TOKEN }} sonar-scanner \ @@ -51,7 +52,7 @@ jobs: -Dsonar.inclusions="**/*.py, **/*.xml, **/*.js" \ -Dsonar.exclusions="**/__manifest__.py, **/migrations/**, **/__pycache__/**" \ -Dsonar.sourceEncoding="UTF-8" \ - -Dsonar.host.url="https://sonar.odex.sa" \ + -Dsonar.host.url="$SONAR_HOST_URL" \ -Dsonar.login="$SONAR_TOKEN" - name: Cleanup workspace