From ac1fdeab2c40c1c9a98a36b84c50e5847bb2fe3e Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 4 Sep 2024 15:03:34 -0400 Subject: [PATCH] Address the comment Signed-off-by: Peter Zhu --- scripts/gradle/gradle-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gradle/gradle-check.sh b/scripts/gradle/gradle-check.sh index 8f97d44900..0e56f6011e 100755 --- a/scripts/gradle/gradle-check.sh +++ b/scripts/gradle/gradle-check.sh @@ -67,10 +67,10 @@ 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 + echo "Use queue information to find build number in Jenkins if available" WORKFLOW_URL=$(curl -s -XGET ${JENKINS_URL}/${QUEUE_URL}api/json | jq --raw-output .executable.url) echo WORKFLOW_URL $WORKFLOW_URL - echo "Use queue information to find build number in Jenkins if available" if [ -n "$WORKFLOW_URL" ] || [ "$WORKFLOW_URL" != "null" ]; then RUNNING="true"