Limiting artifacts to 5 artifacts per job is too strict as for fast
moving jobs the artifact could clear before the developer has a chance
to even look at it. This makes the artifact stick around for at least
one day before clearing the artifact.
Change-Id: I9a9dba476c055c17f9ee8275ebedeacdc2cf4960
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
- build-discarder:
days-to-keep: '{build-days-to-keep}'
num-to-keep: 40
- artifact-days-to-keep: -1
- artifact-num-to-keep: 5
+ # Need to keep artifacts for at least 1 day as some projects need to
+ # be able to validate their artifacts and only allowing limited
+ # number of artifacts could make fast moving jobs lost their
+ # artifacts before the developers can test it.
+ artifact-days-to-keep: 1
- parameter:
name: opendaylight-infra-parameters