| - job-template: |
| name: 'plugin-javamelody-bazel-{branch}' |
| description: 'JavaMelody plugin {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-plugin.sh |
| publishers: |
| - archive: |
| artifacts: > |
| bazel-bin/plugins/javamelody/javamelody.jar*,bazel-bin/plugins/javamelody/javamelody-deps_deploy.jar |
| follow-symlinks: true |
| |
| - project: |
| name: javamelody |
| jobs: |
| - 'plugin-{name}-bazel-{branch}-{gerrit-branch}': |
| branch: |
| - master |
| gerrit-branch: |
| - master |
| - stable-3.11 |
| - stable-3.10 |
| - stable-3.9 |
| - stable-3.8 |