I have some gitlab CI pipelines that consist of dozens of jobs -- sometimes I need to find something that might appear in a job without knowing which one. I can manually select each job in the web interface and review the associated log, but doing that for each job is infeasible.
Is there some way (ideally as an unprivileged gitlab user) to retrieve/aggregate the output from all the jobs of a given pipeline?
In case it matters, I'm using version 12.5.X-ee.
This implements the essentials of Rekovni's suggestion: download_ci_logs.rb. It has a hard-coded
CI-
prefix and.log
extension for the downloaded traces, plus a header that I found personally useful.Improvement suggestions are welcome as comments here or issues in that project.