blob: d9f983a66952d866b8af14b3350490dd1f07b62a [file] [log] [blame]
Ray Milkeya8f64f32017-10-26 12:11:56 -07001---
2# ONOS Buck Pipeline jobs
3
4- job:
5 name: onos-buck-gerrit
6 project-type: pipeline
7 sandbox: false
Brian O'Connor09cf7572017-10-26 18:42:47 -07008 #TODO(BOC): use the build node from the project
9 node: 'ubuntu16.04-basebuild-8c-15g'
10 #TODO(BOC) Need build discarding
11 #TODO(BOC) Need build parameters
12 concurrent: true
Ray Milkeya8f64f32017-10-26 12:11:56 -070013
14 pipeline-scm:
15 script-path: tools/build/jenkins/onos-buck-gerrit
16 scm:
17 - lf-infra-gerrit-scm:
Brian O'Connor09cf7572017-10-26 18:42:47 -070018 # git-url: '{git-url}'
19 git-url: '$GIT_URL/$GERRIT_PROJECT'
Brian O'Connor32bc42f2017-10-26 18:31:07 -070020 refspec: '$GERRIT_REFSPEC'
21 branch: '$GERRIT_BRANCH'
22 #submodule-recursive: '{submodule-recursive}'
23 submodule-recursive: false
Ray Milkeya8f64f32017-10-26 12:11:56 -070024 choosing-strategy: gerrit
Brian O'Connor32bc42f2017-10-26 18:31:07 -070025 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
26 jenkins-ssh-credential: 'jenkins'
27 shallow-clone: true
Ray Milkeya8f64f32017-10-26 12:11:56 -070028
Brian O'Connor32bc42f2017-10-26 18:31:07 -070029 triggers:
30 - gerrit:
31 #server-name: '{gerrit-server-name}'
32 server-name: 'ONOS Project Gerrit'
33 #trigger-on: '{obj:gerrit_verify_triggers}'
34 trigger-on:
35 - patchset-created-event:
36 exclude-drafts: true
37 exclude-trivial-rebase: false
38 exclude-no-code-change: true
39 - draft-published-event
40 projects:
41 - project-compare-type: PLAIN
42 #project-pattern: '{project}'
43 project-pattern: 'onos'
44 branches:
45 - branch-compare-type: ANT
46 #branch-pattern: '**/{branch}'
47 branch-pattern: '**/master'
48 #file-paths: '{obj:gerrit_trigger_file_paths}'
Ray Milkeya8f64f32017-10-26 12:11:56 -070049
50- project:
51 name: onos-buck-gerrit
52 build-timeout: '1800'
53 build-node: 'ubuntu16.04-basebuild-8c-15g'
54 project: 'onos'
55 project-name: 'onos'
56
57 jobs:
58 - 'onos-buck-gerrit'
59
60