Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 1 | --- |
| 2 | # verification jobs for 'openolt' repo |
| 3 | |
| 4 | - project: |
| 5 | name: openolt |
| 6 | project: '{name}' |
| 7 | |
| 8 | jobs: |
| 9 | - 'verify-openolt-jobs': |
Zack Williams | a9d9511 | 2019-07-31 11:05:24 -0700 | [diff] [blame] | 10 | branch-regexp: '{all-branches-regexp}' |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 11 | |
| 12 | - job-group: |
| 13 | name: 'verify-openolt-jobs' |
| 14 | jobs: |
| 15 | - 'verify-licensed' |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 16 | - 'tag-collision-reject' |
| 17 | - 'make-unit-test': |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 18 | build-node: 'ubuntu18.04-basebuild-2c-4g' |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 19 | unit-test-targets: 'test' |
Zack Williams | 3715d58 | 2020-02-24 10:40:27 -0700 | [diff] [blame] | 20 | # openolt uses gtest which outputs in xunit format |
| 21 | junit-allow-empty-results: true |
| 22 | xunit-skip-if-no-test-files: false |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 23 | |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 24 | - job-template: |
| 25 | id: 'openolt-tests' |
| 26 | name: 'verify_{project}_tests' |
| 27 | |
| 28 | description: | |
| 29 | Created by {id} job-template from ci-management/jjb/verify/openolt.yaml |
| 30 | |
| 31 | triggers: |
| 32 | - cord-infra-gerrit-trigger-patchset: |
| 33 | gerrit-server-name: '{gerrit-server-name}' |
| 34 | project-regexp: '^{project}$' |
| 35 | branch-regexp: '{branch-regexp}' |
| 36 | dependency-jobs: '{dependency-jobs}' |
| 37 | file-include-regexp: '{all-files-regexp}' |
| 38 | |
| 39 | properties: |
| 40 | - cord-infra-properties: |
| 41 | build-days-to-keep: '{build-days-to-keep}' |
| 42 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 43 | |
| 44 | parameters: |
| 45 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 46 | name: notificationEmail |
| 47 | default: '$GERRIT_EVENT_ACCOUNT_EMAIL' |
| 48 | description: 'Verification failure of patch $GERRIT_CHANGE_NUMBER to {project} repo' |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 49 | |
| 50 | node: 'openolt_deb_onf_agent' |
| 51 | project-type: pipeline |
| 52 | concurrent: true |
| 53 | |
| 54 | pipeline-scm: |
| 55 | script-path: 'Jenkinsfile.test' |
| 56 | scm: |
| 57 | - cord-infra-gerrit-scm: |
| 58 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 59 | refspec: '$GERRIT_REFSPEC' |
| 60 | branch: '$GERRIT_BRANCH' |
| 61 | submodule-recursive: 'false' |
| 62 | choosing-strategy: 'gerrit' |
| 63 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 64 | basedir: '' |