mirror of
https://github.com/SonarSource/sonarqube-quality-gate-action.git
synced 2026-09-23 13:38:32 +00:00
change sleep 5s to sleep 5 to support MacOS runners
This commit is contained in:
@@ -39,7 +39,7 @@ status="$(jq -r '.task.status' <<< "$task")"
|
||||
|
||||
until [[ ${status} != "PENDING" && ${status} != "IN_PROGRESS" ]]; do
|
||||
printf '.'
|
||||
sleep 5s
|
||||
sleep 5
|
||||
task="$(curl --location --location-trusted --max-redirs 10 --silent --fail --show-error --user "${SONAR_TOKEN}": "${ceTaskUrl}")"
|
||||
status="$(jq -r '.task.status' <<< "$task")"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user