From f374843ab80cec1e9a0142600ddcba4b118f84c2 Mon Sep 17 00:00:00 2001 From: nyyu Date: Sat, 13 Jul 2024 19:57:25 +0200 Subject: [PATCH] chore: disable comment --- sonar.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonar.sh b/sonar.sh index b651ff1..2b8b869 100755 --- a/sonar.sh +++ b/sonar.sh @@ -15,6 +15,8 @@ fi sonar-scanner -Dsonar.working.directory=/tmp/.scannerwork -Dsonar.qualitygate.wait=true "${sonarOpts[@]}" || true +exit 0 + projectKey=$(grep 'projectKey=' /tmp/.scannerwork/report-task.txt | cut -d'=' -f2) taskId=$(grep 'ceTaskId=' /tmp/.scannerwork/report-task.txt | cut -d'=' -f2) analysisId=$(wget -q -O- --header "Authorization: Bearer ${SONAR_TOKEN}" "${SONAR_HOST_URL}/api/ce/task?id=${taskId}" | jq -r '.task.analysisId')