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 | |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 44 | node: 'openolt_deb_onf_agent' |
| 45 | project-type: pipeline |
| 46 | concurrent: true |
| 47 | |
| 48 | pipeline-scm: |
| 49 | script-path: 'Jenkinsfile.test' |
| 50 | scm: |
| 51 | - cord-infra-gerrit-scm: |
| 52 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 53 | refspec: '$GERRIT_REFSPEC' |
| 54 | branch: '$GERRIT_BRANCH' |
| 55 | submodule-recursive: 'false' |
| 56 | choosing-strategy: 'gerrit' |
| 57 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 58 | basedir: '' |