dev #1

Merged
nocci merged 51 commits from dev into main 2026-03-06 16:31:29 +01:00
Showing only changes of commit 6216d8eac3 - Show all commits

View file

@ -61,15 +61,22 @@ jobs:
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 \ set -- \
-Dsonar.host.url="$HOST_URL" \ -Dsonar.host.url="$HOST_URL" \
-Dsonar.token="$SONAR_TOKEN" \ -Dsonar.token="$SONAR_TOKEN" \
-Dsonar.projectKey="$PROJECT_KEY" \ -Dsonar.projectKey="$PROJECT_KEY" \
-Dsonar.branch.name="$BRANCH_NAME" \
-Dsonar.sources=. \ -Dsonar.sources=. \
-Dsonar.scm.disabled=true \ -Dsonar.scm.disabled=true \
-Dsonar.projectBaseDir="$WORKDIR" -Dsonar.projectBaseDir="$WORKDIR"
if [ "${SONAR_ENABLE_BRANCH:-}" = "true" ]; then
set -- "$@" -Dsonar.branch.name="$BRANCH_NAME"
else
echo "Branch analysis disabled (requires SonarQube Developer Edition)"
fi
sonar-scanner "$@"
docker: docker:
needs: [lint, sonar] needs: [lint, sonar]
runs-on: self-hosted runs-on: self-hosted