blob: 1ddccbfbf3b86dbdb1933bd14ba5368e2f27475c [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
refspec: +refs/changes/*:refs/remotes/origin/*
branches:
- master
skip-tag: true
triggers:
- pollscm: 'H/50 * * * *'
builders:
- shell: |
set +x
echo "Building gitiles webapp master"
echo '============================================================='
rm -Rf buck-out
export BUCK_CLEAN_REPO_IF_DIRTY=y
git submodule update --init
buck build all
buck test
buck build //:install
publishers:
- archive:
artifacts: 'buck-out/gen/all.zip'