Update infra-properties macro 91/53091/2
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Thu, 9 Mar 2017 15:46:49 +0000 (07:46 -0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Mar 2017 16:18:23 +0000 (11:18 -0500)
The infra-properties macro should be setting all values of purgeable
components.

In particular, a forced maximum number of build logs and very small
number of maximum artifacts need to be put in place or Jenkins will
continue to consume more and more space for unneeded or unwanted build
artifacts.

Change-Id: I05ddacd1fca617f389c4a28c4ee38664bfc1cd8e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/releng-macros.yaml

index f565c115fa2bc7f5c50652fbca1e54a1bc9c1f14..02f5642dd7b13d3b8496196dca97c6c038d001e4 100644 (file)
@@ -5,6 +5,9 @@
     properties:
       - build-discarder:
           days-to-keep: '{build-days-to-keep}'
+          num-to-keep: 40
+          artifact-days-to-keep: -1
+          artifact-num-to-keep: 5
 
 - parameter:
     name: opendaylight-infra-parameters