blob: b0cc8d23b595121c558465008863e41bb7dfdf5a [file] [log] [blame]
- job-template:
name: 'plugin-owners-bazel-{branch}'
description: 'Plugin owners {branch} branch build with Bazel'
defaults: plugin-template-bazel
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
do-not-fetch-tags: true
builders:
- set-git-credentials
- shell: !include-raw: gerrit-bazel-build-owners-plugin.sh
publishers:
- archive:
artifacts: >
bazel-bin/plugins/owners/owners.jar*,bazel-bin/plugins/owners/owners-a*.jar*
excludes: >
**/*non_stamped*
follow-symlinks: true
- job-template:
name: 'plugin-owners-bazel-{branch}-{gerrit-branch}'
class: plugins
description: 'Plugin owners {branch} branch Bazel build for Gerrit {gerrit-branch}'
defaults: plugin-template-bazel
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
skip-tag: true
do-not-fetch-tags: true
project-name: plugins%2Fowners
builders:
- set-git-credentials
- shell: !include-raw: gerrit-bazel-build-owners-plugin-branch.sh
- shell: !include-raw: gerrit-bazel-get-project-info.sh
publishers:
- archive:
artifacts: >
bazel-bin/plugins/owners/owners.jar*,bazel-bin/plugins/owners/owners-a*.jar*
excludes: >
**/*non_stamped*
follow-symlinks: true
- project:
name: owners
jobs:
- 'plugin-owners-bazel-{branch}':
targets: 'plugins/owners plugins/owners-a*'
branch:
- master
- stable-3.9
- stable-3.8
- stable-3.7