blob: 7f5bf451040fa8dee9f3c17fb597c6d314dab3a9 [file] [log] [blame] [view]
# Gerrit CI: How to keep logs forever on Jenkins
We use Jenkins for verifying Gerrit patch sets under multiple
configurations and conditions. The logfiles produced are a
golden source of information. To keep Jenkins healthy and responsive,
we needed to remove them all which sounded quite silly: would
you just burn your cash because your wallet is too small?
Using the Logstash plugin and correlating the logs with Gerrit
review data I have managed to keep everything and *forever*
enabling a much richer data analysis and materialize back
the logs with the same URL referenced in the Gerrit changes.
*[Luca Milanesio / Gerrit CI Build Engineer / GerritForge](../speakers.md#lmilanesio)*