The "Executing ..." lines from gitlab-ci occasionally got captured before
the footer of previous collapsed section, so hidden when said section is
collapsed.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
#!/bin/sh
set -e
-# all error output to stdout, so shell tracing markers are kept in
-# suitable ordering with collapsable section markers
-exec 2>&1
+# all error output to stderr, so shell tracing markers are kept in
+# suitable ordering with collapsable section markers, *and* with the
+# `Executing` traces issued by gitlab-ci itself
+exec >&2
FOOTER_ID="commit-$(git rev-parse --short HEAD)"
COLLAPSED_TITLE="$(git log -1 --oneline)"