Skip to content

Commit 1d1f47a

Browse files
committed
Upload unit test log to gitlab artifacts for easier debugging.
1 parent d724f9f commit 1d1f47a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitlab/unit-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ if [ $UNITSUCCESS -eq 0 ]; then
5959
else
6060
STATE=failure
6161
fi
62+
cp webapp/var/log/test.log "$GITLABARTIFACTS"/test.log
63+
6264
curl https://api.github.com/repos/domjudge/domjudge/statuses/$CI_COMMIT_SHA \
6365
-X POST \
6466
-H "Authorization: token $GH_BOT_TOKEN_OBSCURED" \

0 commit comments

Comments
 (0)