set -e 오류발생 해결
This commit is contained in:
@@ -53,9 +53,9 @@ jobs:
|
|||||||
local status="$1" repo="$2" branch="$3" mode="$4" start_epoch="$5" extra="${6:-}"
|
local status="$1" repo="$2" branch="$3" mode="$4" start_epoch="$5" extra="${6:-}"
|
||||||
local ts end_epoch duration text payload
|
local ts end_epoch duration text payload
|
||||||
case "${status}" in
|
case "${status}" in
|
||||||
success) ((TOTAL_SUCCESS++)) ;;
|
success) ((++TOTAL_SUCCESS)) ;;
|
||||||
skip) ((TOTAL_SKIP++)) ;;
|
skip) ((++TOTAL_SKIP)) ;;
|
||||||
error) ((TOTAL_ERROR++)) ;;
|
error) ((++TOTAL_ERROR)) ;;
|
||||||
esac
|
esac
|
||||||
[[ -z "${NOTIFY_WEBHOOK}" ]] && return
|
[[ -z "${NOTIFY_WEBHOOK}" ]] && return
|
||||||
ts=$(TZ=Asia/Seoul date '+%Y-%m-%d %H:%M:%S %Z')
|
ts=$(TZ=Asia/Seoul date '+%Y-%m-%d %H:%M:%S %Z')
|
||||||
|
|||||||
Reference in New Issue
Block a user