fix: add debug output for SonarQube URL
This commit is contained in:
parent
89d8b108cd
commit
64b7d0786c
1 changed files with 17 additions and 16 deletions
|
|
@ -76,22 +76,23 @@ jobs:
|
||||||
ls -la
|
ls -la
|
||||||
echo "Sample files:"
|
echo "Sample files:"
|
||||||
find . -maxdepth 2 -type f | head -n 20
|
find . -maxdepth 2 -type f | head -n 20
|
||||||
echo "Running local sonar-scanner..."
|
echo "Running local sonar-scanner..."
|
||||||
sonar-scanner \
|
echo "SonarQube URL: $HOST_URL"
|
||||||
-Dsonar.host.url="$HOST_URL" \
|
sonar-scanner \
|
||||||
-Dsonar.token="$SONAR_TOKEN" \
|
-Dsonar.host.url="$HOST_URL" \
|
||||||
-Dsonar.projectKey="$PROJECT_KEY" \
|
-Dsonar.token="$SONAR_TOKEN" \
|
||||||
-Dsonar.sources=. \
|
-Dsonar.projectKey="$PROJECT_KEY" \
|
||||||
-Dsonar.scm.disabled=true \
|
-Dsonar.sources=. \
|
||||||
-Dsonar.projectBaseDir="$WORKDIR" \
|
-Dsonar.scm.disabled=true \
|
||||||
-Dsonar.branch.name="$BRANCH_NAME" 2>/dev/null || \
|
-Dsonar.projectBaseDir="$WORKDIR" \
|
||||||
sonar-scanner \
|
-Dsonar.branch.name="$BRANCH_NAME" 2>/dev/null || \
|
||||||
-Dsonar.host.url="$HOST_URL" \
|
sonar-scanner \
|
||||||
-Dsonar.token="$SONAR_TOKEN" \
|
-Dsonar.host.url="$HOST_URL" \
|
||||||
-Dsonar.projectKey="$PROJECT_KEY" \
|
-Dsonar.token="$SONAR_TOKEN" \
|
||||||
-Dsonar.sources=. \
|
-Dsonar.projectKey="$PROJECT_KEY" \
|
||||||
-Dsonar.scm.disabled=true \
|
-Dsonar.sources=. \
|
||||||
-Dsonar.projectBaseDir="$WORKDIR"
|
-Dsonar.scm.disabled=true \
|
||||||
|
-Dsonar.projectBaseDir="$WORKDIR"
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
needs: [lint, sonar]
|
needs: [lint, sonar]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue