blob: 28d11608ce61067e8a1d50b94e1db13b418d6140 [file] [log] [blame]
- job-template:
name: '{name}-{branch}'
description: "{name} {branch} branch build with BUCK\n"
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
numToKeep: 5
artifactNumToKeep: 5
properties:
- authorization:
anonymous:
- job-discover
- job-read
- job-extended-read
scm:
- git:
url: https://gerrit.googlesource.com/gerrit
branches:
- origin/{branch}
submodule:
recursive: true
triggers:
- pollscm: 'H/20 * * * *'
builders:
- shell:
!include-raw-escape gerrit-buck-build.sh
publishers:
- archive:
artifacts: 'buck-out/gen/*.war,buck-out/gen/plugins/*/*.jar,buck-out/gen/*api/*api.jar'
excludes: 'buck-out/gen/plugins/core*/**/*.jar'
- project:
name: Gerrit
branch:
- master
- stable-2.11
- stable-2.10
jobs:
- '{name}-{branch}'