blob: 8ee15ef3c2a649f8e36cb962e58ad870c91440e5 [file] [log] [blame]
- job-template:
name: 'pluginmanual-{name}-{branch}'
description: "Plugin {name} {branch} manual branch build with BUCK\n"
parameters:
- string:
name: REFS_CHANGE
description: "Refs change as provided by Download/Checkout eg: refs/changes/21/75721/1"
properties:
- inject:
properties-file: env.properties
script-content: |
echo "REFS_CHANGE=$REFS_CHANGE" > env.properties
override-build-parameters: true
defaults: buck-plugin
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
- raw:
xml: <jenkins.plugins.logstash.LogstashBuildWrapper plugin="logstash@1.2.0"/>
logrotate:
numToKeep: 20
artifactNumToKeep: 20
properties:
- authorization:
anonymous:
- job-discover
- job-read
- job-extended-read
scm:
- git:
remotes:
- origin:
url: https://gerrit.googlesource.com/plugins/{name}
- gerrit:
url: https://gerrit.googlesource.com/gerrit
branches:
- origin/{branch}
submodule:
recursive: true
skip-tag: true
builders:
- shell:
!include-raw gerrit-buck-build-plugin-manual.sh
publishers:
- archive:
artifacts: 'buck-out/gen/plugins/{name}/*{name}*.jar*'