blob: 903fc3c1bd9e17c42d270362da71fd204ed43ac5 [file] [log] [blame]
- defaults:
name: 'plugin-gitblit'
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
- raw:
xml: <jenkins.plugins.logstash.LogstashBuildWrapper plugin="logstash@1.2.0"/>
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
- stable-2.15