Skip to content

Commit 1ed0222

Browse files
log
1 parent d5e5c28 commit 1ed0222

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/gitlab

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ poll.commit.status ()
8484

8585
let attempt+=1
8686
laststatus="pending"
87+
status="new"
8788

8889
while true; do
8990
attempt=$(($attempt + 1))
@@ -92,7 +93,7 @@ poll.commit.status ()
9293
info "polling commit status: ${attempt} or ${POLL_ATTEMPTS}"
9394

9495
if [ "${status}" != "${laststatus}" ]; then
95-
info "- pipeline in ${status:-$laststatus}"
96+
info "- pipeline in ${status} was ${laststatus:-}"
9697
fi
9798

9899
case "${status}" in

0 commit comments

Comments
 (0)