Archive the last karaf distribution 57/55757/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 20 Apr 2017 17:32:24 +0000 (13:32 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 20 Apr 2017 19:21:07 +0000 (15:21 -0400)
Temporarily archive the last build karaf distribution to unblock devs
from testing Carbon until we figure out why staging repositories are not
being created for Autorelease Carbon.

Change-Id: I3a6e4ca6ac66d46f365f5fadd662cb2cc4f04c4d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-templates.yaml

index 992c1008f1d1046ac6edd17583efb270630c3dd1..e3398db4ac9a36ed37c426f8a43f0dbcb9b9cd06 100644 (file)
@@ -9,8 +9,14 @@
     cron: 'H 0 * * *'
 
     properties:
-      - opendaylight-infra-properties:
-          build-days-to-keep: '30'
+      - build-discarder:
+          days-to-keep: '30'
+          num-to-keep: 40
+          artifact-num-to-keep: 1
+    # Make sure we only archive the last artifact until we figure out why
+    # autorelease carbon is not generating a staging repo.
+    #   - opendaylight-infra-properties:
+    #       build-days-to-keep: '30'
 
     parameters:
       - maven-exec:
           # Need to archive dependencies.log in Jenkins to provide a simple
           # way for downstream jobs to pull the latest version of this file
           # in their builds.
-          artifacts: 'dependencies.log'
+          # TODO stop archiving **/*.zip once we figure out why artifacts are
+          #      not deploying to Nexus
+          artifacts: 'dependencies.log, **/*.zip'
       - trigger-parameterized-builds:
           - project: 'integration-distribution-test-{integration-test}'
             condition: UNSTABLE_OR_BETTER