aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/gerrit-verifications-comment.yml
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-07 11:50:22 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-07 12:05:29 +0100
commit719ff9760808acb1fe944f4c496c356c7dc07c91 (patch)
treefd8b3fc281efa2c18dfbc9b72db5d727855f9f54 /jobs/gerrit-verifications-comment.yml
parentfdf3336f6cf1d6d313251734bbe2fd0e217a713b (diff)
jobs: tweak build-discarder values
Remove num-to-keep from most jobs, as this leads to keeping the build logs for a much shorter timeline than desired. For example the gerrit-binpkgs-deb job that runs for most projects when pushing patches to jenkins reaches the 120 limit in less than 24h - and so when clicking the link on a failed build from yesterday it is already deleted. Instead just keep the logs for the last 30 days, no matter how many were submitted on one day. Storing logs doesn't take up much space. Remove the artifact-days-to-keep and artifact-num-to-keep lines, as they don't have an effect. For jobs that do have artifacts, the actual value is min(days-to-keep,artifact-days-to-keep) and same with num-to-keep. While at it, increase the ttcn3-testsuites build-discarder to 120 days as this means more data will show up in the test result analyzer at which we look frequently. Change-Id: Iec5c22c7fcf6c1fd2db71611045f15dc6580ed86
Diffstat (limited to 'jobs/gerrit-verifications-comment.yml')
-rw-r--r--jobs/gerrit-verifications-comment.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/jobs/gerrit-verifications-comment.yml b/jobs/gerrit-verifications-comment.yml
index f781bf8..046c986 100644
--- a/jobs/gerrit-verifications-comment.yml
+++ b/jobs/gerrit-verifications-comment.yml
@@ -15,9 +15,6 @@
properties:
- build-discarder:
days-to-keep: 30
- num-to-keep: 120
- artifact-days-to-keep: -1
- artifact-num-to-keep: -1
description: |
Send start and result comments to <a href="https://gerrit.osmocom.org">gerrit</a>.
</br></br>