blob: e5b11cbb7beeca21dbba25082a3a5f1afcbed100 [file] [log] [blame]
- defaults:
name: 'plugin-gitblit'
description: "GitBlit plugin {branch} branch build with BUCK\n"
defaults: buck-plugin
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-{branch}'
description: "GitBlit plugin {branch} branch build with BUCK\n"
defaults: plugin-gitblit
builders:
- shell:
!include-raw: gitblit-ant-build.sh
- shell:
!include-raw: gerrit-buck-build-plugin.sh
publishers:
- archive:
artifacts: 'buck-out/gen/plugins/gitblit/*gitblit*.jar*,buck-out/gen/plugins/gitblit/*gitblit*.json'
- job-template:
name: 'plugin-gitblit-bazel-{branch}'
description: "GitBlit plugin Bazel build for Gerrit {branch}\n"
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-genfiles/plugins/gitblit/*gitblit*.jar*,bazel-genfiles/plugins/gitblit/*gitblit*.json'
- project:
name: gitblit
jobs:
- 'plugin-gitblit-bazel-{branch}':
targets: plugins/gitblit
branch:
- master
- stable-2.15
- stable-2.14