blob: 8ff922eb504ab99eed85791e075d9879c3747c3b [file] [log] [blame]
Brian O'Connor9fbe7722017-10-27 12:44:04 -07001#---
Ray Milkeye28a4db2017-10-27 12:36:14 -07002# ONOS Buck Pipeline jobs
Ray Milkey4e0ac1c2017-11-07 13:49:18 -08003#
4#- job:
5# branch: master
6# git-url: '$GIT_URL/$GERRIT_PROJECT'
7# stream: master
8# name: onos-validate-pipeline
9# project-type: pipeline
10# sandbox: false
11#
12# parameters:
13# - lf-infra-parameters:
14# # TODO - this is a hack, figure out how to get these from defaults.yaml
15# project: 'onos'
16# stream: 'master'
17# branch: 'master'
18# lftools-version: '<1.0.0'
19#
20# #TODO(BOC): use the build node from the project
21# #FIXME figure out how to run this on a slave
22# #node: 'ubuntu16.04-basebuild-8c-15g'
23# #TODO(BOC) Need build discarding
24# concurrent: true
25#
26# pipeline-scm:
27# script-path: tools/build/jenkins/onos-buck-gerrit
28# scm:
29# - lf-infra-gerrit-scm:
30# #git-url: '{git-url}'
31# git-url: '$GIT_URL/$GERRIT_PROJECT'
32# refspec: '$GERRIT_REFSPEC'
33# branch: '$GERRIT_BRANCH'
34# #submodule-recursive: '{submodule-recursive}'
35# submodule-recursive: false
36# choosing-strategy: gerrit
37# #jenkins-ssh-credential: '{jenkins-ssh-credential}'
38# jenkins-ssh-credential: 'jenkins'
39# shallow-clone: true
40#
41# triggers:
42# - gerrit:
43# #server-name: '{gerrit-server-name}'
44# server-name: 'ONOS Project Gerrit'
45# #trigger-on: '{obj:gerrit_verify_triggers}'
46# trigger-on:
47# - patchset-created-event:
48# exclude-drafts: true
49# exclude-trivial-rebase: false
50# exclude-no-code-change: true
51# - draft-published-event
52# projects:
53# - project-compare-type: PLAIN
54# #project-pattern: '{project}'
55# project-pattern: 'onos'
56# branches:
57# - branch-compare-type: ANT
58# #branch-pattern: '**/{branch}'
59# branch-pattern: '**/master'
60# #file-paths: '{obj:gerrit_trigger_file_paths}'
61#
62#- project:
63# name: onos-validate-pipeline
64# build-timeout: '1800'
65# build-node: 'ubuntu16.04-basebuild-8c-15g'
66# project: 'onos'
67# project-name: 'onos'
68#
69# jobs:
70# - 'onos-validate-pipeline'
71#
72#