Skip to content
Snippets Groups Projects
Commit a1b96d88 authored by Tom Heng's avatar Tom Heng
Browse files

Fix the error loop function on JH side

parent 6b28002c
No related branches found
No related tags found
1 merge request!128318Fix the error loop function on JH side
......@@ -397,7 +397,7 @@ function verify_deploy() {
# By default, try for 5 minutes, with 5 of sleep between attempts
local max_try_times=$((${GITLAB_VERIFY_DEPLOY_TIMEOUT_MINUTES:-5} * 60 / 5))
for i in {1..$max_try_times}; do
for i in $(seq 1 $max_try_times); do
local now=$(date '+%H:%M:%S')
echo "[${now}] Verifying deployment at ${CI_ENVIRONMENT_URL}/users/sign_in"
log_name="curl-logs/${now}.log"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment