Make staging jobs run daily 20/12320/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 18 Aug 2018 20:50:58 +0000 (16:50 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 18 Aug 2018 20:53:35 +0000 (16:53 -0400)
As we move towards more automated releases having regularly running
staging jobs will allow projects to discover broken staging jobs
earlier. Let's run these jobs @daily as a default.

Change-Id: I50a3f27396fc921714d1faff16830b2e6b38730d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-c-cpp-jobs.yaml
jjb/lf-maven-jobs.yaml

index 6b24038..5e85448 100644 (file)
@@ -15,6 +15,7 @@
     build-dir: '$WORKSPACE/target'
     build-timeout: 15
     cmake-opts: ''
+    cron: '@daily'
     git-url: '$GIT_URL/$PROJECT'
     github-url: 'https://github.com'
     install-prefix: '$BUILD_DIR/output'
           choosing-strategy: gerrit
 
     triggers:
+      - timed: '{obj:cron}'
       - gerrit:
           server-name: '{gerrit-server-name}'
           trigger-on:
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
     triggers:
+      - timed: '{obj:cron}'
       - github-pull-request:
           trigger-phrase: '^(stage-release)$'
           only-trigger-phrase: true
index 7a57470..e55a2c0 100644 (file)
     branch: master
     build-days-to-keep: 30  # 30 days in case a release takes long to get approved.
     build-timeout: 60
-    cron: ''
+    cron: '@daily'
     git-url: '$GIT_URL/$PROJECT'
     github-url: 'https://github.com'
     java-version: openjdk8