From 558d3df8e284f9d3c97347a02ac80c50472c3c76 Mon Sep 17 00:00:00 2001 From: lvsi <15239928381@163.com> Date: Sun, 3 Mar 2024 01:37:56 +0800 Subject: [PATCH] update: update print style --- .pipeline/start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.pipeline/start.sh b/.pipeline/start.sh index 6b5ce71..cf21330 100644 --- a/.pipeline/start.sh +++ b/.pipeline/start.sh @@ -35,10 +35,12 @@ for job_name in "${job_queue[@]}"; do global_switch_name="${global_job_name^^}_SWITCH" # ^^ equals upper() global_trigger_cmd="${global_job_name^^}_TRIGGER_CMD" + print_step "handle job: ${global_job_name}" + # check if the switch is on switch_status=$(eval echo "$"$global_switch_name) if [ "${switch_status}" != "on" ]; then - print_ok "${global_job_name} is skipped due to the switch is off\n" + print_warn "${global_job_name} is skipped due to the switch is off\n" continue fi