From: Thanh Ha Date: Sat, 18 Aug 2018 20:50:58 +0000 (-0400) Subject: Make staging jobs run daily X-Git-Tag: v0.24.0~11^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F12320%2F1;p=releng%2Fglobal-jjb.git 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 --- 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