blob: d9eb5b9c2b77c9c30627849a572818857a096063 [file] [log] [blame]
- job:
name: gitiles-webapp
description: Builds gitiles webapp from master
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
- raw:
xml: <jenkins.plugins.logstash.LogstashBuildWrapper plugin="logstash@1.2.0"/>
properties:
- build-discarder:
days-to-keep: 20
artifact-days-to-keep: 20
- authorization:
anonymous:
- job-discover
- job-read
- job-extended-read
scm:
- git:
url: https://gerrit.googlesource.com/gitiles
branches:
- master
skip-tag: true
triggers:
- pollscm:
cron: 'H/50 * * * *'
builders:
- shell: |
set +x
echo "Building gitiles webapp master"
echo '=============================='
bazel clean --expunge
bazel build //...
bazel test //...
publishers:
- archive:
artifacts: 'bazel-bin/gitiles.war'