Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 1 | --- |
Ray Milkey | e28a4db | 2017-10-27 12:36:14 -0700 | [diff] [blame] | 2 | # ONOS Buck Pipeline jobs |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 3 | |
| 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 Milkey | f839415 | 2018-03-09 13:57:16 -0800 | [diff] [blame] | 11 | disabled: true |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 12 | |
| 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 Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 21 | 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 Williams | 05f0608 | 2020-01-22 14:19:34 -0700 | [diff] [blame] | 31 | submodule-disable: '{submodule-disable}' |
| 32 | submodule-recursive: '{submodule-recursive}' |
| 33 | submodule-timeout: '{submodule-timeout}' |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 34 | choosing-strategy: gerrit |
| 35 | #jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Ray Milkey | a621588 | 2017-11-29 15:40:52 -0800 | [diff] [blame] | 36 | jenkins-ssh-credential: 'onos-jenkins-ssh' |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 37 | 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 Milkey | 557f711 | 2017-11-29 10:09:03 -0800 | [diff] [blame] | 50 | - comment-added-contains-event: |
| 51 | comment-contains-value: '(?i)^.*recheck$' |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 52 | 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 Milkey | f839415 | 2018-03-09 13:57:16 -0800 | [diff] [blame] | 64 | build-timeout: '30' |
Ray Milkey | f2b5451 | 2017-11-28 14:01:10 -0800 | [diff] [blame] | 65 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 66 | project: 'onos' |
| 67 | project-name: 'onos' |
| 68 | |
| 69 | jobs: |
| 70 | - 'onos-validate-pipeline' |