Commit 54c13fbd authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: fixed log extraction for failed builds

Had forgotten that the logs are located in subdirectories.

It would be tempting do just take the whole /var/log/gitlab
directory, but then I'd be wary it could be too big. I expect
the artifacts system to perform compression (IIRC it's artifacts
are wrapped in a zip file).

We do have some random failures in the nightly builds that I'd like
to investigate. We'll see if that is enough.
parent aca488ac5daf
Pipeline #12696 passed with stage
in 31 minutes and 38 seconds
......@@ -4,7 +4,7 @@
# as artifacts
mkdir -p log
cp /var/log/gitlab/*.log log/
cp /var/log/gitlab/*/*.log log/
# forward the failure
exit 1
\ No newline at end of file
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment