From a1f0d20d9770afdc6f633edc829a3d72f57ec860 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 23 Mar 2020 11:35:58 -0400 Subject: [PATCH] jjb: lttng-tools: Update discard strategy of the gerrit job Signed-off-by: Michael Jeanson --- jobs/lttng-tools.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index e22cb92..43cf46c 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -653,6 +653,17 @@ branch-pattern: '**' trigger-for-unreviewed-patches: true + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-tools + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + <<: *lttng-tools_build_axes_defaults <<: *lttng-tools_build_builders_gerrit -- 2.34.1