How to collect raw log into artifact?

Hi
I was wondering if it is possible to collect the raw log file into an artifact?

Best regards,
Hans

1 Like

I’m curious how to do this also.

One obvious workaround that I’m using is instead of calling cmake/make/etc from the script lines in the .gitlab-ci.yaml. Instead put those lines in a larger script, call that from the yaml, and redirect that output to a log file. Then add that log file to the artifacts in your yaml. This does miss all the logging that occurs as part of an image step/etc.

Hi
It has crossed my mind but I want the whole raw log because there more there that I like.

1 Like

That would be pretty handy since my logs are always over the 500k the browser will display. curious to see what is possible!

1 Like