jobs: remove artifacts-days/num-to-keep: -1

Remove the "artifact-days-to-keep: -1" and "artifact-num-to-keep: -1"
lines, as they don't have an effect. -1 is the default value, which
means "infinite" and causes the value from "days-to-keep" /
"num-to-keep" to get used instead.

This patch re-applies part of 719ff976 ("jobs: tweak build-discarder
values"), which had been reverted in a052c13c.

Related: https://jenkins-job-builder.readthedocs.io/en/latest/properties.html#properties.build-discarder
Related: OS#5980
Change-Id: Ic073643634e1814147d765dd7e8f3f02e81effc3
This commit is contained in:
Oliver Smith 2023-04-03 10:47:54 +02:00
parent d022087dcc
commit b126b77e81
11 changed files with 0 additions and 24 deletions

View File

@ -20,8 +20,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
{type} package job of CI for patches sent to
<a href="https://gerrit.osmocom.org">gerrit</a>

View File

@ -17,8 +17,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Lint job of CI for patches sent to <a href="https://gerrit.osmocom.org">gerrit</a>.
</br></br>

View File

@ -16,8 +16,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Run <code>struct_endianness.py</code> from libosmocore.git on patches
sent to <a href="https://gerrit.osmocom.org">gerrit</a>.

View File

@ -16,8 +16,6 @@
- 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>

View File

@ -17,8 +17,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Pending gerrit code reviews of
<a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>

View File

@ -628,8 +628,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Pipeline of CI for patches sent to
<a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>
@ -681,8 +679,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Build job of CI for patches sent to
<a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>

View File

@ -17,8 +17,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Automatic jenkins test job of
<a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a>

View File

@ -518,8 +518,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
description: |
Automatic jenkins test job of
<a href="{git_base_url}/{repos}">{repos}</a>

View File

@ -35,8 +35,6 @@
queue-scanning: DISABLED
use-build-blocker: false
- build-discarder:
artifact-days-to-keep: -1
artifact-num-to-keep: -1
days-to-keep: 30
num-to-keep: 120
- rebuild:

View File

@ -117,8 +117,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
wrappers:
- ansicolor:
colormap: xterm

View File

@ -386,8 +386,6 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
wrappers:
- ansicolor:
colormap: xterm