Skip to content
Snippets Groups Projects
Commit 7990561b authored by Recolic Keghart's avatar Recolic Keghart
Browse files

easier to interrupt sleeping

parent 49cf2368
No related branches found
No related tags found
No related merge requests found
......@@ -217,6 +217,7 @@ function cis_run_job () {
echo "$resp" | grep "$niddle_should_crash" > /dev/null && echo2 "CIS reported 'Internal Error' while creating job. https://beta-cps.trafficmanager.net/Public/$cis_namespace/JobDetails/$job_id" && return 3
echo2 -n .
sleep 5
[[ $? = 130 ]] && echo2 "SIGINT received" && return 130
done
echo2 "Starting job..."
......@@ -297,6 +298,7 @@ function cis_wait_for_upload () {
while true; do
echo2 -n .
sleep 5
[[ $? = 130 ]] && echo2 "SIGINT received" && return 130
# Fail if uploading job failed or blocked, success if pkgid is ready.
try_grep_pkgid "$workflow_name" "$release_ver" && return 0
......
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