blob: 8d7b77e3d9079164895fbff4db9756b4533dc222 [file] [log] [blame]
Ray Milkeya8f64f32017-10-26 12:11:56 -07001---
2# ONOS Buck Pipeline jobs
3
4- job:
Ray Milkey8df72c12017-10-27 09:05:12 -07005 branch: master
6 git-url: '$GIT_URL/$GERRIT_PROJECT'
7 stream: master
Ray Milkeya8f64f32017-10-26 12:11:56 -07008 name: onos-buck-gerrit
9 project-type: pipeline
10 sandbox: false
Ray Milkey8df72c12017-10-27 09:05:12 -070011
12 parameters:
13 - lf-infra-parameters:
14 project: '{project}'
15 stream: '{stream}'
16 branch: '{branch}'
17 lftools-version: '{lftools-version}'
18
Brian O'Connor09cf7572017-10-26 18:42:47 -070019 #TODO(BOC): use the build node from the project
Brian O'Connor54a23192017-10-26 20:24:11 -070020 #FIXME figure out how to run this on a slave
21 #node: 'ubuntu16.04-basebuild-8c-15g'
Brian O'Connor09cf7572017-10-26 18:42:47 -070022 #TODO(BOC) Need build discarding
23 #TODO(BOC) Need build parameters
24 concurrent: true
Ray Milkeya8f64f32017-10-26 12:11:56 -070025
26 pipeline-scm:
27 script-path: tools/build/jenkins/onos-buck-gerrit
28 scm:
29 - lf-infra-gerrit-scm:
Brian O'Connor09cf7572017-10-26 18:42:47 -070030 # git-url: '{git-url}'
31 git-url: '$GIT_URL/$GERRIT_PROJECT'
Brian O'Connor32bc42f2017-10-26 18:31:07 -070032 refspec: '$GERRIT_REFSPEC'
33 branch: '$GERRIT_BRANCH'
34 #submodule-recursive: '{submodule-recursive}'
35 submodule-recursive: false
Ray Milkeya8f64f32017-10-26 12:11:56 -070036 choosing-strategy: gerrit
Brian O'Connor32bc42f2017-10-26 18:31:07 -070037 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
38 jenkins-ssh-credential: 'jenkins'
39 shallow-clone: true
Ray Milkeya8f64f32017-10-26 12:11:56 -070040
Brian O'Connor32bc42f2017-10-26 18:31:07 -070041 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}'
Ray Milkeya8f64f32017-10-26 12:11:56 -070061
62- project:
63 name: onos-buck-gerrit
64 build-timeout: '1800'
65 build-node: 'ubuntu16.04-basebuild-8c-15g'
66 project: 'onos'
67 project-name: 'onos'
68
69 jobs:
70 - 'onos-buck-gerrit'
71
72