diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml index 85fe840..6ce5e1b 100644 --- a/.gitea/workflows/sonarqube.yml +++ b/.gitea/workflows/sonarqube.yml @@ -38,6 +38,16 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: Debug Connectivity + run: | + echo "Testing host URL: ${SONAR_HOST_URL}" + curl -sI "${SONAR_HOST_URL}/api/system/status" || echo "curl failed" + echo "---" + curl -s -u "${SONAR_TOKEN}:" "${SONAR_HOST_URL}/api/authentication/validate" + env: + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: SonarScanner Begin run: | dotnet sonarscanner begin \