jjb: lttng-tools: Update discard strategy of the gerrit job
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 23 Mar 2020 15:35:58 +0000 (11:35 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 23 Mar 2020 15:35:58 +0000 (11:35 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-tools.yaml

index e22cb92d666b7203facd9ad06a8c128c6c2be172..43cf46cd952cf80357b4cfa8c4e6d96a7b96dbae 100644 (file)
                   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
 
This page took 0.030494 seconds and 4 git commands to generate.