blob: ad1a6819cebfb5eb9d21abc8a18e8e01c21a1d94 [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
Ray Milkeyf8394152018-03-09 13:57:16 -080011 disabled: true
Ray Milkeyf2b54512017-11-28 14:01:10 -080012
13 parameters:
14 - lf-infra-parameters:
15 # TODO - this is a hack, figure out how to get these from defaults.yaml
16 project: 'onos'
17 stream: 'master'
18 branch: 'master'
19 lftools-version: '<1.0.0'
20
Ray Milkeyf2b54512017-11-28 14:01:10 -080021 concurrent: true
22
23 pipeline-scm:
24 script-path: tools/build/jenkins/onos-buck-gerrit
25 scm:
26 - lf-infra-gerrit-scm:
27 #git-url: '{git-url}'
28 git-url: '$GIT_URL/$GERRIT_PROJECT'
29 refspec: '$GERRIT_REFSPEC'
30 branch: '$GERRIT_BRANCH'
31 #submodule-recursive: '{submodule-recursive}'
32 submodule-recursive: false
33 choosing-strategy: gerrit
34 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
Ray Milkeya6215882017-11-29 15:40:52 -080035 jenkins-ssh-credential: 'onos-jenkins-ssh'
Ray Milkeyf2b54512017-11-28 14:01:10 -080036 shallow-clone: true
37
38 triggers:
39 - gerrit:
40 #server-name: '{gerrit-server-name}'
41 server-name: 'ONOS Project Gerrit'
42 #trigger-on: '{obj:gerrit_verify_triggers}'
43 trigger-on:
44 - patchset-created-event:
45 exclude-drafts: true
46 exclude-trivial-rebase: false
47 exclude-no-code-change: true
48 - draft-published-event
Ray Milkey557f7112017-11-29 10:09:03 -080049 - comment-added-contains-event:
50 comment-contains-value: '(?i)^.*recheck$'
Ray Milkeyf2b54512017-11-28 14:01:10 -080051 projects:
52 - project-compare-type: PLAIN
53 #project-pattern: '{project}'
54 project-pattern: 'onos'
55 branches:
56 - branch-compare-type: ANT
57 #branch-pattern: '**/{branch}'
58 branch-pattern: '**/master'
59 #file-paths: '{obj:gerrit_trigger_file_paths}'
60
61- project:
62 name: onos-validate-pipeline
Ray Milkeyf8394152018-03-09 13:57:16 -080063 build-timeout: '30'
Ray Milkeyf2b54512017-11-28 14:01:10 -080064 build-node: 'ubuntu16.04-basebuild-8c-15g'
65 project: 'onos'
66 project-name: 'onos'
67
68 jobs:
69 - 'onos-validate-pipeline'