From 5aacfb5ba36f1d30502e2e2ddc4fce77e613699e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 23 Mar 2020 11:35:46 -0400 Subject: [PATCH] jjb: lttng-modules: Update discard strategy of the gerrit job Signed-off-by: Michael Jeanson --- jobs/lttng-modules.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 01a0434..d3f696a 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -292,7 +292,11 @@ properties: - build-discarder: - num-to-keep: 2 + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-build' <<: *lttng-modules_build_parameters_gerrit <<: *lttng-modules_build_builders_defaults -- 2.34.1