| targets: 'plugins/{name}:{name}' |
| - username-password-separated: |
| credential-id: gerrit.googlesource.com |
| artifact-days-to-keep: 20 |
| url: https://github.com/{organization}/{repo} |
| url: https://gerrit.googlesource.com/a/gerrit |
| credentials-id: gerrit.googlesource.com |
| name: 'plugin-{name}-gh-bazel-{branch}' |
| Plugin {name} {branch} branch build with Bazel owned by {organization} |
| defaults: plugin-gh-template |
| - shell: !include-raw: gerrit-bazel-build-plugin.sh |
| - shell: !include-raw: gerrit-bazel-gh-get-plugin-info.sh |
| bazel-bin/plugins/{name}/{name}.jar*,bazel-bin/plugins/{name}/{name}.json |
| name: 'plugin-{name}-gh-bazel-{branch}-{gerrit-branch}' |
| Plugin {name} {branch} branch owned by {organization} |
| and hosted on GitHub and built with Bazel for Gerrit {gerrit-branch} |
| defaults: plugin-gh-template |
| - shell: !include-raw: gerrit-bazel-build-plugin-branch.sh |
| - shell: !include-raw: gerrit-bazel-gh-get-plugin-info.sh |
| bazel-bin/plugins/{name}/{name}.jar*,bazel-bin/plugins/{name}/{name}.json |