aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/gerrit-verifications.yml
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-12-09 01:11:01 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2017-12-09 01:13:18 +0100
commit28564a6977cd60085d67b48b8a08d8ba3848fd6a (patch)
tree9797616c1ec1e81390ed290ca15d312cbf704267 /jobs/gerrit-verifications.yml
parent6655542cec3a2195d228e66ce065a61b496d4324 (diff)
jobs: gerrit, master, update-osmo-ci: fix build-discarder section
The build-discarder section was silently not working. It needs to be nested below a 'properties' node. Also the names need to be dashed and not camelCased. Change-Id: I9503200a8873e616f9195d4bb1d6163c464b305e
Diffstat (limited to 'jobs/gerrit-verifications.yml')
-rw-r--r--jobs/gerrit-verifications.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/jobs/gerrit-verifications.yml b/jobs/gerrit-verifications.yml
index da80e62..a64fb3a 100644
--- a/jobs/gerrit-verifications.yml
+++ b/jobs/gerrit-verifications.yml
@@ -187,11 +187,12 @@
concurrent: '{obj:concurrent}'
disabled: '{obj:disabled}'
retry-count: 3 # scm checkout
- build-discarder:
- daysToKeep: 30
- numToKeep: 120
- artifactDaysToKeep: -1
- artifactNumToKeep: -1
+ properties:
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 120
+ artifact-days-to-keep: -1
+ artifact-num-to-keep: -1
description: |
Pending gerrit code reviews of
<a href="https://gerrit.osmocom.org/#/q/status:open+project:{repos}">{repos}</a>