From e1382a101a5bf19dacc7502b62af8f5188b73b64 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 18 Aug 2018 16:50:58 -0400 Subject: [PATCH] Make staging jobs run daily 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 --- jjb/lf-c-cpp-jobs.yaml | 3 +++ jjb/lf-maven-jobs.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jjb/lf-c-cpp-jobs.yaml b/jjb/lf-c-cpp-jobs.yaml index 6b24038f..5e854484 100644 --- a/jjb/lf-c-cpp-jobs.yaml +++ b/jjb/lf-c-cpp-jobs.yaml @@ -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' @@ -116,6 +117,7 @@ choosing-strategy: gerrit triggers: + - timed: '{obj:cron}' - gerrit: server-name: '{gerrit-server-name}' trigger-on: @@ -150,6 +152,7 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: + - timed: '{obj:cron}' - github-pull-request: trigger-phrase: '^(stage-release)$' only-trigger-phrase: true diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index 7a574700..e55a2c0c 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -691,7 +691,7 @@ 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 -- 2.16.6