blob: 324f6f0c0ed3e2788db21679da1553e9e2f9e46d [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
- project:
name: examples
jobs:
- 'plugin-examples-bazel-{branch}':
branch:
- master
- stable-3.1
- stable-2.16