From: Michael Jeanson Date: Mon, 23 Mar 2020 15:35:58 +0000 (-0400) Subject: jjb: lttng-tools: Update discard strategy of the gerrit job X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a1f0d20d9770afdc6f633edc829a3d72f57ec860;p=lttng-ci.git jjb: lttng-tools: Update discard strategy of the gerrit job Signed-off-by: Michael Jeanson --- 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