Make autorelease-beryllium build only once a week 97/53097/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Mar 2017 17:52:41 +0000 (12:52 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 9 Mar 2017 17:52:43 +0000 (12:52 -0500)
Since Beryllium is in maintenance mode and we're no longer doing
releases. Make Beryllium only run once a week so that it doesn't use our
infra resources.

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

index b432b34ddb487a58a1b835f457dc97d5e9eb3675..b6af6d13ffa202a5b8b50dec4095b69b6e10641e 100644 (file)
@@ -17,6 +17,8 @@
           jdk: 'openjdk8'
           integration-test: boron
       - beryllium:
+          # Only run once a week since Beryllium is in maintenance mode
+          cron: 'H H * * 0'
           next-release-tag: Beryllium-SR5
           branch: 'stable/beryllium'
           jdk: 'openjdk7'
index 1261ac9e5a29d9265139fdcb3b95c486abfd2477..643e0ae620f1a78178c72bb3a9fd913c533b2ade 100644 (file)
@@ -6,6 +6,7 @@
     project-type: freestyle
     node: centos7-autorelease-4c-16g
     jdk: '{jdk}'
+    cron: 'H 0 * * *'
 
     properties:
       - opendaylight-infra-properties:
@@ -42,7 +43,7 @@
           build-timeout: '1440'
 
     triggers:
-      - timed: 'H 0 * * *'
+      - timed: '{cron}'
 
     builders:
       # force jenkins install of maven version before any shell scripts use it