Skip to content

Commit

Permalink
Small tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Sep 4, 2024
1 parent e07e004 commit 2d027ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gradle/gradle-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ echo "wait for jenkins to start workflow" && sleep 15

echo "Check if queue exist in Jenkins after triggering"
if [ -z "$QUEUE_URL" ] || [ "$QUEUE_URL" != "null" ]; then
while [ "$RESULT" == "null" ] && [ "$TIMEPASS" -le "$TIMEOUT" ]; do
while [ "$RESULT" = "null" ] && [ "$TIMEPASS" -le "$TIMEOUT" ]; do
WORKFLOW_URL=$(curl -s -XGET ${JENKINS_URL}/${QUEUE_URL}api/json | jq --raw-output .executable.url)
echo WORKFLOW_URL $WORKFLOW_URL

Expand Down

0 comments on commit 2d027ef

Please sign in to comment.