blob: e092c71c1242cbfb017e08b30d5bcadac5b5eddc [file] [log] [blame]
Ray Milkeyf2b54512017-11-28 14:01:10 -08001---
Ray Milkeye28a4db2017-10-27 12:36:14 -07002# ONOS Buck Pipeline jobs
Ray Milkeyf2b54512017-11-28 14:01:10 -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
Ray Milkeyf2b54512017-11-28 14:01:10 -080020 concurrent: true
21
22 pipeline-scm:
23 script-path: tools/build/jenkins/onos-buck-gerrit
24 scm:
25 - lf-infra-gerrit-scm:
26 #git-url: '{git-url}'
27 git-url: '$GIT_URL/$GERRIT_PROJECT'
28 refspec: '$GERRIT_REFSPEC'
29 branch: '$GERRIT_BRANCH'
30 #submodule-recursive: '{submodule-recursive}'
31 submodule-recursive: false
32 choosing-strategy: gerrit
33 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
Ray Milkeya6215882017-11-29 15:40:52 -080034 jenkins-ssh-credential: 'onos-jenkins-ssh'
Ray Milkeyf2b54512017-11-28 14:01:10 -080035 shallow-clone: true
36
37 triggers:
38 - gerrit:
39 #server-name: '{gerrit-server-name}'
40 server-name: 'ONOS Project Gerrit'
41 #trigger-on: '{obj:gerrit_verify_triggers}'
42 trigger-on:
43 - patchset-created-event:
44 exclude-drafts: true
45 exclude-trivial-rebase: false
46 exclude-no-code-change: true
47 - draft-published-event
Ray Milkey557f7112017-11-29 10:09:03 -080048 - comment-added-contains-event:
49 comment-contains-value: '(?i)^.*recheck$'
Ray Milkeyf2b54512017-11-28 14:01:10 -080050 projects:
51 - project-compare-type: PLAIN
52 #project-pattern: '{project}'
53 project-pattern: 'onos'
54 branches:
55 - branch-compare-type: ANT
56 #branch-pattern: '**/{branch}'
57 branch-pattern: '**/master'
58 #file-paths: '{obj:gerrit_trigger_file_paths}'
59
60- project:
61 name: onos-validate-pipeline
62 build-timeout: '1800'
63 build-node: 'ubuntu16.04-basebuild-8c-15g'
64 project: 'onos'
65 project-name: 'onos'
66
67 jobs:
68 - 'onos-validate-pipeline'