diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-09 01:11:01 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-12-09 01:13:18 +0100 |
commit | 28564a6977cd60085d67b48b8a08d8ba3848fd6a (patch) | |
tree | 9797616c1ec1e81390ed290ca15d312cbf704267 /jobs | |
parent | 6655542cec3a2195d228e66ce065a61b496d4324 (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')
-rw-r--r-- | jobs/gerrit-verifications.yml | 11 | ||||
-rw-r--r-- | jobs/master-builds.yml | 11 | ||||
-rw-r--r-- | jobs/update-osmo-ci-on-slaves.yml | 7 |
3 files changed, 16 insertions, 13 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> diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index b127069..ece5f33 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -271,11 +271,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: | Automatic jenkins test job of <a href="http://git.osmocom.org/{repos}">{repos}</a> diff --git a/jobs/update-osmo-ci-on-slaves.yml b/jobs/update-osmo-ci-on-slaves.yml index 0ec665e..e0f082f 100644 --- a/jobs/update-osmo-ci-on-slaves.yml +++ b/jobs/update-osmo-ci-on-slaves.yml @@ -6,9 +6,10 @@ type: slave name: label values: [ OsmocomBuild1 , build1-debian9-lxc ] - build-discarder: - daysToKeep: 30 - numToKeep: 120 + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 120 scm: - git: url: git://git.osmocom.org/osmo-ci |