Skip to content

Commit

Permalink
Empty line between loop runs, easier to understand
Browse files Browse the repository at this point in the history
  • Loading branch information
PChambino committed Feb 13, 2024
1 parent eb5697b commit 6bd6fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/loop.bash
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ echo "Max Queue Time: ${max_time_seconds} seconds."
#
confidence=0
while true; do
echo # let's keep each loop messages separate by a blank line, easier to understand

# get running jobs, filtered to branch or tag, with pipeline ID
update_active_run_data

Expand All @@ -212,7 +214,6 @@ while true; do
confidence=$((confidence+1))
echo "API shows no conflicting jobs/workflows. However it is possible a previous workflow has pending jobs not yet visible in API. To avoid a race condition we will verify out place in queue."
echo "Rerunning check ${confidence}/$CONFIDENCE_THRESHOLD"
echo
else
echo "Front of the line, WooHoo!, Build continuing"
break
Expand Down

0 comments on commit 6bd6fad

Please sign in to comment.