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 | - 'make-unit-test': |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 17 | build-node: 'ubuntu18.04-basebuild-2c-4g' |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 18 | unit-test-targets: 'test' |
Zack Williams | 3715d58 | 2020-02-24 10:40:27 -0700 | [diff] [blame] | 19 | # openolt uses gtest which outputs in xunit format |
| 20 | junit-allow-empty-results: true |
| 21 | xunit-skip-if-no-test-files: false |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 22 | |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 23 | - job-template: |
| 24 | id: 'openolt-tests' |
| 25 | name: 'verify_{project}_tests' |
| 26 | |
| 27 | description: | |
| 28 | Created by {id} job-template from ci-management/jjb/verify/openolt.yaml |
| 29 | |
| 30 | triggers: |
| 31 | - cord-infra-gerrit-trigger-patchset: |
| 32 | gerrit-server-name: '{gerrit-server-name}' |
| 33 | project-regexp: '^{project}$' |
| 34 | branch-regexp: '{branch-regexp}' |
| 35 | dependency-jobs: '{dependency-jobs}' |
| 36 | file-include-regexp: '{all-files-regexp}' |
| 37 | |
| 38 | properties: |
| 39 | - cord-infra-properties: |
| 40 | build-days-to-keep: '{build-days-to-keep}' |
| 41 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 42 | |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 43 | node: 'openolt_deb_onf_agent' |
| 44 | project-type: pipeline |
| 45 | concurrent: true |
| 46 | |
| 47 | pipeline-scm: |
| 48 | script-path: 'Jenkinsfile.test' |
| 49 | scm: |
| 50 | - cord-infra-gerrit-scm: |
| 51 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 52 | refspec: '$GERRIT_REFSPEC' |
| 53 | branch: '$GERRIT_BRANCH' |
| 54 | submodule-recursive: 'false' |
| 55 | choosing-strategy: 'gerrit' |
| 56 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 57 | basedir: '' |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 58 | |
| 59 | # [EOF] |