Ray Milkey | a8f64f3 | 2017-10-26 12:11:56 -0700 | [diff] [blame] | 1 | --- |
| 2 | # ONOS Buck Pipeline jobs |
| 3 | |
| 4 | - job: |
| 5 | name: onos-buck-gerrit |
| 6 | project-type: pipeline |
| 7 | sandbox: false |
Ray Milkey | a8f64f3 | 2017-10-26 12:11:56 -0700 | [diff] [blame] | 8 | |
| 9 | pipeline-scm: |
| 10 | script-path: tools/build/jenkins/onos-buck-gerrit |
| 11 | scm: |
| 12 | - lf-infra-gerrit-scm: |
Brian O'Connor | 32bc42f | 2017-10-26 18:31:07 -0700 | [diff] [blame^] | 13 | git-url: '$GIT_URL/$PROJECT' |
| 14 | refspec: '$GERRIT_REFSPEC' |
| 15 | branch: '$GERRIT_BRANCH' |
| 16 | #submodule-recursive: '{submodule-recursive}' |
| 17 | submodule-recursive: false |
Ray Milkey | a8f64f3 | 2017-10-26 12:11:56 -0700 | [diff] [blame] | 18 | choosing-strategy: gerrit |
Brian O'Connor | 32bc42f | 2017-10-26 18:31:07 -0700 | [diff] [blame^] | 19 | #jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 20 | jenkins-ssh-credential: 'jenkins' |
| 21 | shallow-clone: true |
Ray Milkey | a8f64f3 | 2017-10-26 12:11:56 -0700 | [diff] [blame] | 22 | |
Brian O'Connor | 32bc42f | 2017-10-26 18:31:07 -0700 | [diff] [blame^] | 23 | 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 Milkey | a8f64f3 | 2017-10-26 12:11:56 -0700 | [diff] [blame] | 43 | |
| 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 | |