diff options
author | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2017-01-24 01:20:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-24 01:20:23 +0000 |
commit | 8cb5166cee8f446b9759d27e77192a19f94bdddc (patch) | |
tree | 38a3bc4907c08170199d85858e970ceeff514235 /jjb/global | |
parent | 47f445a47cbfd5a262ac94b9051883d8bfe71236 (diff) | |
parent | ca8d5d9f1f054acece699037b6487e679b282419 (diff) |
Merge "[macro] property logrotate"
Diffstat (limited to 'jjb/global')
-rw-r--r-- | jjb/global/releng-defaults.yml | 9 | ||||
-rw-r--r-- | jjb/global/releng-macros.yml | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/jjb/global/releng-defaults.yml b/jjb/global/releng-defaults.yml index 5003a8f48..283888603 100644 --- a/jjb/global/releng-defaults.yml +++ b/jjb/global/releng-defaults.yml @@ -3,15 +3,12 @@ - defaults: name: global - logrotate: - daysToKeep: 60 - numToKeep: 200 - artifactDaysToKeep: 30 - artifactNumToKeep: 100 - wrappers: - ssh-agent-wrapper project-type: freestyle node: master + + properties: + - logrotate-default 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: |