blob: f6adbf7c9d9d78998e1e6c29db65c5d9a6c953fa [file] [log] [blame]
- job-template:
name: 'plugin-examples-bazel-{branch}'
description: 'Plugin examples {branch} branch build with Bazel'
defaults: plugin-template-bazel
targets: ''
scm:
- git:
remotes:
- origin:
url: https://gerrit.googlesource.com/a/plugins/examples
credentials-id: gerrit.googlesource.com
branches:
- origin/{branch}
skip-tag: true
wrappers:
- credentials-binding:
- username-password-separated:
credential-id: gerrit.googlesource.com
username: GS_GIT_USER
password: GS_GIT_PASS
builders:
- set-git-credentials
- shell: !include-raw: gerrit-bazel-build-examples-plugin.sh
publishers:
- archive:
artifacts: >
bazel-bin/all.zip
follow-symlinks: true
- project:
name: examples
jobs:
- 'plugin-examples-bazel-{branch}':
branch:
- master