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