chore: disable comment
This commit is contained in:
parent
db7183bf11
commit
f374843ab8
1 changed files with 2 additions and 0 deletions
2
sonar.sh
2
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')
|
||||
|
|
Loading…
Add table
Reference in a new issue