| - defaults: |
| name: 'plugin-gitblit' |
| wrappers: |
| - timeout: |
| timeout: 30 |
| fail: true |
| - timestamps |
| properties: |
| - build-discarder: |
| days-to-keep: 20 |
| artifact-days-to-keep: 20 |
| - authorization: |
| anonymous: |
| - job-discover |
| - job-read |
| - job-extended-read |
| scm: |
| - git: |
| remotes: |
| - origin: |
| url: https://gerrit.googlesource.com/plugins/gitblit |
| - gerrit: |
| url: https://gerrit.googlesource.com/gerrit |
| - gitblit: |
| url: https://gerrit.googlesource.com/gitblit |
| branches: |
| - origin/{branch} |
| submodule: |
| recursive: true |
| skip-tag: true |
| triggers: |
| - pollscm: |
| cron: 'H/50 * * * *' |
| |
| - job-template: |
| name: 'plugin-gitblit-bazel-{branch}' |
| description: 'GitBlit plugin Bazel build for Gerrit {branch}' |
| defaults: plugin-gitblit |
| project-name: plugins%2Fgitblit |
| class: plugins |
| node: bazel-debian |
| scm: |
| - git: |
| remotes: |
| - origin: |
| url: https://gerrit.googlesource.com/plugins/gitblit |
| - gitblit: |
| url: https://gerrit.googlesource.com/gitblit |
| - gerrit: |
| url: https://gerrit.googlesource.com/gerrit |
| branches: |
| - origin/{branch} |
| submodule: |
| recursive: true |
| skip-tag: true |
| builders: |
| - shell: !include-raw: gitblit-ant-build.sh |
| - shell: !include-raw: gerrit-bazel-build-plugin.sh |
| - shell: !include-raw: gerrit-bazel-get-project-info.sh |
| publishers: |
| - archive: |
| artifacts: > |
| bazel-bin/plugins/gitblit/*gitblit*.jar*, |
| bazel-bin/plugins/gitblit/*gitblit*.json |
| |
| - project: |
| name: gitblit |
| jobs: |
| - 'plugin-gitblit-bazel-{branch}': |
| targets: plugins/gitblit |
| branch: |
| - master |