Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 1 | #--- |
Ray Milkey | e28a4db | 2017-10-27 12:36:14 -0700 | [diff] [blame] | 2 | # ONOS Buck Pipeline jobs |
Ray Milkey | 4e0ac1c | 2017-11-07 13:49:18 -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 |
| 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 | # |
| 20 | # #TODO(BOC): use the build node from the project |
| 21 | # #FIXME figure out how to run this on a slave |
| 22 | # #node: 'ubuntu16.04-basebuild-8c-15g' |
| 23 | # #TODO(BOC) Need build discarding |
| 24 | # concurrent: true |
| 25 | # |
| 26 | # pipeline-scm: |
| 27 | # script-path: tools/build/jenkins/onos-buck-gerrit |
| 28 | # scm: |
| 29 | # - lf-infra-gerrit-scm: |
| 30 | # #git-url: '{git-url}' |
| 31 | # git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 32 | # refspec: '$GERRIT_REFSPEC' |
| 33 | # branch: '$GERRIT_BRANCH' |
| 34 | # #submodule-recursive: '{submodule-recursive}' |
| 35 | # submodule-recursive: false |
| 36 | # choosing-strategy: gerrit |
| 37 | # #jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 38 | # jenkins-ssh-credential: 'jenkins' |
| 39 | # shallow-clone: true |
| 40 | # |
| 41 | # triggers: |
| 42 | # - gerrit: |
| 43 | # #server-name: '{gerrit-server-name}' |
| 44 | # server-name: 'ONOS Project Gerrit' |
| 45 | # #trigger-on: '{obj:gerrit_verify_triggers}' |
| 46 | # trigger-on: |
| 47 | # - patchset-created-event: |
| 48 | # exclude-drafts: true |
| 49 | # exclude-trivial-rebase: false |
| 50 | # exclude-no-code-change: true |
| 51 | # - draft-published-event |
| 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 |
| 64 | # build-timeout: '1800' |
| 65 | # build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 66 | # project: 'onos' |
| 67 | # project-name: 'onos' |
| 68 | # |
| 69 | # jobs: |
| 70 | # - 'onos-validate-pipeline' |
| 71 | # |
| 72 | # |