Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 1 | --- |
| 2 | # xos unit test |
| 3 | |
| 4 | - job-template: |
| 5 | id: 'xos-unit-test' |
Kailash Khalasi | 38cb5cd | 2018-05-16 09:49:15 -0700 | [diff] [blame] | 6 | name: 'verify_{project}_unit-test' |
Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 7 | |
| 8 | description: | |
| 9 | Created by {id} job-template from ci-management/jjb/xos-unit.yaml |
| 10 | |
| 11 | triggers: |
| 12 | - cord-infra-gerrit-trigger-patchset: |
| 13 | gerrit-server-name: '{gerrit-server-name}' |
| 14 | project-regexp: '^{project}$' |
| 15 | branch-regexp: '{branch-regexp}' |
| 16 | dependency-jobs: '{dependency-jobs}' |
| 17 | file-include-regexp: '{all-files-regexp}' |
| 18 | |
| 19 | properties: |
| 20 | - cord-infra-properties: |
| 21 | build-days-to-keep: '{build-days-to-keep}' |
| 22 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 23 | |
| 24 | wrappers: |
| 25 | - lf-infra-wrappers: |
| 26 | build-timeout: 20 |
| 27 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 28 | |
| 29 | scm: |
Zack Williams | 3798b41 | 2018-07-12 15:31:52 -0700 | [diff] [blame] | 30 | - cord-infra-gerrit-repo-scm: |
| 31 | manifest-url: '{gerrit-server-url}/{cord-repo-manifest}' |
Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 32 | branch: '$GERRIT_BRANCH' |
Zack Williams | 3798b41 | 2018-07-12 15:31:52 -0700 | [diff] [blame] | 33 | destination-dir: 'cord' |
Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 34 | |
| 35 | node: 'ubuntu16.04-basebuild-1c-2g' |
| 36 | project-type: freestyle |
| 37 | concurrent: true |
| 38 | |
| 39 | builders: |
Zack Williams | 3798b41 | 2018-07-12 15:31:52 -0700 | [diff] [blame] | 40 | - cord-infra-gerrit-repo-patch: |
| 41 | destination-dir: 'cord' |
| 42 | project: '$GERRIT_PROJECT' |
| 43 | change-number: '$GERRIT_CHANGE_NUMBER' |
| 44 | patchset-number: '$GERRIT_PATCHSET_NUMBER' |
| 45 | - shell: !include-raw-escape: shell/xos-unit.sh |
Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 46 | |
Zack Williams | 3798b41 | 2018-07-12 15:31:52 -0700 | [diff] [blame] | 47 | publishers: |
| 48 | - junit: |
| 49 | results: "**/nose2-junit.xml" |
| 50 | - cobertura: |
| 51 | report-file: "**/coverage.xml" |
| 52 | targets: |
| 53 | - files: |
| 54 | healthy: 80 |
| 55 | unhealthy: 0 |
| 56 | failing: 0 |
| 57 | - method: |
| 58 | healthy: 50 |
| 59 | unhealthy: 0 |
| 60 | failing: 0 |
Kailash Khalasi | e6f414c | 2018-05-14 13:40:36 -0700 | [diff] [blame] | 61 | |