| - 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 |
| follow-symlinks: true |
| |
| - project: |
| name: account |
| jobs: |
| - 'plugin-account-bazel-{branch}': |
| branch: |
| - master |
| - stable-3.8 |