blob: 7880024fd87a9d0b35ef55b60ac00439eec0c8dc [file] [log] [blame]
- job-template:
name: 'plugin-account-gh-bazel-{branch}'
description: >
Plugin account {branch} branch build with Bazel owned by {organization} and hosted on GitHub
defaults: plugin-template-bazel
node: bazel-debian
class: plugins
project-name: plugins%2Faccount
scm:
- git:
remotes:
- origin:
url: https://github.com/{organization}/{repo}
- 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
follow-symlinks: true
- project:
name: account
repo: account
organization: GerritForge
jobs:
- 'plugin-account-gh-bazel-{branch}':
branch:
- master