blob: bdf67680144822ac52ed93a312e7afc27721082c [file] [log] [blame]
- job-template:
name: 'plugin-account-bazel-{branch}'
description: 'Plugin account {branch} branch build with Bazel'
defaults: plugin-template-bazel
node: bazel-debian
class: plugins
project-name: plugins%2Faccount
scm:
- git:
remotes:
- origin:
url: https://gerrit.googlesource.com/a/plugins/{name}
credentials-id: gerrit.googlesource.com
- gerrit:
url: https://gerrit.googlesource.com/a/gerrit
credentials-id: gerrit.googlesource.com
branches:
- origin/{branch}
submodule:
recursive: true
parent-credentials: true
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-account-plugin.sh
- shell: !include-raw: gerrit-bazel-get-project-info.sh
publishers:
- archive:
artifacts: >
bazel-bin/plugins/account/account.jar*,bazel-bin/plugins/account/account.json
- project:
name: account
jobs:
- 'plugin-account-bazel-{branch}':
branch:
- master
- stable-3.4
- stable-3.3
- stable-3.2
- stable-2.16