blob: c7957afc225571add730f2fc51063d62f9023d3e [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'
Zack Williams05f06082020-01-22 14:19:34 -070031 submodule-disable: '{submodule-disable}'
32 submodule-recursive: '{submodule-recursive}'
33 submodule-timeout: '{submodule-timeout}'
Ray Milkeyf2b54512017-11-28 14:01:10 -080034 choosing-strategy: gerrit
35 #jenkins-ssh-credential: '{jenkins-ssh-credential}'
Ray Milkeya6215882017-11-29 15:40:52 -080036 jenkins-ssh-credential: 'onos-jenkins-ssh'
Ray Milkeyf2b54512017-11-28 14:01:10 -080037 shallow-clone: true
38
39 triggers:
40 - gerrit:
41 #server-name: '{gerrit-server-name}'
42 server-name: 'ONOS Project Gerrit'
43 #trigger-on: '{obj:gerrit_verify_triggers}'
44 trigger-on:
45 - patchset-created-event:
46 exclude-drafts: true
47 exclude-trivial-rebase: false
48 exclude-no-code-change: true
49 - draft-published-event
Ray Milkey557f7112017-11-29 10:09:03 -080050 - comment-added-contains-event:
51 comment-contains-value: '(?i)^.*recheck$'
Ray Milkeyf2b54512017-11-28 14:01:10 -080052 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}'
61
62- project:
63 name: onos-validate-pipeline
Ray Milkeyf8394152018-03-09 13:57:16 -080064 build-timeout: '30'
Ray Milkeyf2b54512017-11-28 14:01:10 -080065 build-node: 'ubuntu16.04-basebuild-8c-15g'
66 project: 'onos'
67 project-name: 'onos'
68
69 jobs:
70 - 'onos-validate-pipeline'