blob: eda15b093164aba57f7436d576f369e1354ed62f [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
Ray Milkeya8f64f32017-10-26 12:11:56 -07008
9 pipeline-scm:
10 script-path: tools/build/jenkins/onos-buck-gerrit
11 scm:
12 - lf-infra-gerrit-scm:
Brian O'Connor32bc42f2017-10-26 18:31:07 -070013 git-url: '$GIT_URL/$PROJECT'
14 refspec: '$GERRIT_REFSPEC'
15 branch: '$GERRIT_BRANCH'
16 #submodule-recursive: '{submodule-recursive}'
17 submodule-recursive: false
Ray Milkeya8f64f32017-10-26 12:11:56 -070018 choosing-strategy: gerrit
Brian O'Connor32bc42f2017-10-26 18:31:07 -070019 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
20 jenkins-ssh-credential: 'jenkins'
21 shallow-clone: true
Ray Milkeya8f64f32017-10-26 12:11:56 -070022
Brian O'Connor32bc42f2017-10-26 18:31:07 -070023 triggers:
24 - gerrit:
25 #server-name: '{gerrit-server-name}'
26 server-name: 'ONOS Project Gerrit'
27 #trigger-on: '{obj:gerrit_verify_triggers}'
28 trigger-on:
29 - patchset-created-event:
30 exclude-drafts: true
31 exclude-trivial-rebase: false
32 exclude-no-code-change: true
33 - draft-published-event
34 projects:
35 - project-compare-type: PLAIN
36 #project-pattern: '{project}'
37 project-pattern: 'onos'
38 branches:
39 - branch-compare-type: ANT
40 #branch-pattern: '**/{branch}'
41 branch-pattern: '**/master'
42 #file-paths: '{obj:gerrit_trigger_file_paths}'
Ray Milkeya8f64f32017-10-26 12:11:56 -070043
44- project:
45 name: onos-buck-gerrit
46 build-timeout: '1800'
47 build-node: 'ubuntu16.04-basebuild-8c-15g'
48 project: 'onos'
49 project-name: 'onos'
50
51 jobs:
52 - 'onos-buck-gerrit'
53
54