From 7d482a1d321e0469db46d8d087e1a078afe49b37 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 23 Mar 2020 11:35:22 -0400 Subject: [PATCH] jjb: barectf: Update discard strategy of the gerrit job Signed-off-by: Michael Jeanson --- jobs/barectf.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 05321d4..655fcb7 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -122,6 +122,13 @@ branch-pattern: '**' trigger-for-unreviewed-patches: true + properties: + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' builders: - shell: !include-raw-escape: scripts/barectf/build.sh -- 2.34.1