| - 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 |
| |
| - project: |
| name: javamelody |
| jobs: |
| - 'plugin-javamelody-bazel-{branch}': |
| branch: |
| - stable-2.16 |
| targets: > |
| plugins/javamelody:javamelody-deps_deploy.jar |
| plugins/javamelody:javamelody \ |
| - 'plugin-javamelody-bazel-{branch}': |
| branch: |
| - stable-3.1 |
| - 'plugin-{name}-bazel-{branch}-{gerrit-branch}': |
| branch: |
| - master |
| gerrit-branch: |
| - master |
| - stable-3.3 |
| - stable-3.2 |