diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-12-12 10:22:54 +0000 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2017-01-20 06:13:28 +0000 |
commit | ca8d5d9f1f054acece699037b6487e679b282419 (patch) | |
tree | 505e1363df9287296dc5ec2749a2969c49fa0a55 /jjb/global/releng-macros.yml | |
parent | e0b539ec2c57bf48b872903e8d5ddf34b0def844 (diff) |
[macro] property logrotate
This patch defines 'logrotate-default' property and replace 'logrotate'
by it, as 'logrotate' is deprecated on jenkins>=1.637 .
Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Diffstat (limited to 'jjb/global/releng-macros.yml')
-rw-r--r-- | jjb/global/releng-macros.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index 404c3dd69..d43bed77a 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -35,6 +35,15 @@ default: '{branch}' description: "JJB configured GERRIT_BRANCH parameter" +- property: + name: logrotate-default + properties: + - build-discarder: + days-to-keep: 60 + num-to-keep: 200 + artifact-days-to-keep: 60 + artifact-num-to-keep: 200 + - scm: name: git-scm scm: |