- 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 | |
- project: | |
name: examples | |
jobs: | |
- 'plugin-examples-bazel-{branch}': | |
extra-plugins: '' | |
branch: | |
- master |