We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed0222 commit 79efd94Copy full SHA for 79efd94
.github/scripts/gitlab
@@ -90,16 +90,16 @@ poll.commit.status ()
90
attempt=$(($attempt + 1))
91
status=$(get.commit.status "${1}" "${2}")
92
93
- info "polling commit status: ${attempt} or ${POLL_ATTEMPTS}"
+ info "polling commit status: ${attempt}"
94
95
- if [ "${status}" != "${laststatus}" ]; then
96
- info "- pipeline in ${status} was ${laststatus:-}"
97
- fi
98
-
99
- case "${status}" in
+ case "${status:-}" in
100
success) return 0 ;;
101
failed) return 1 ;;
102
canceled) return 1 ;;
+ *) if [ "${status}" != "${laststatus}" ]; then
+ info "- pipeline in ${status} was ${laststatus:-}"
+ fi
+ ;;
103
esac
104
105
if [ ${attempt} -ge ${POLL_ATTEMPTS} ]; then
0 commit comments