| --- |
| # xos unit test |
| |
| - job-template: |
| id: 'xos-unit-test' |
| name: 'verify_{project}_unit-test' |
| |
| description: | |
| Created by {id} job-template from ci-management/jjb/xos-unit.yaml |
| |
| triggers: |
| - cord-infra-gerrit-trigger-patchset: |
| gerrit-server-name: '{gerrit-server-name}' |
| project-regexp: '^{project}$' |
| branch-regexp: '{branch-regexp}' |
| dependency-jobs: '{dependency-jobs}' |
| file-include-regexp: '{code-files-regexp}' |
| |
| properties: |
| - cord-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: 20 |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| scm: |
| - cord-infra-gerrit-repo-scm: |
| manifest-url: '{gerrit-server-url}/{cord-repo-manifest}' |
| branch: 'master' |
| destination-dir: 'cord' |
| |
| node: 'ubuntu16.04-basebuild-1c-2g' |
| project-type: freestyle |
| concurrent: true |
| |
| builders: |
| - cord-infra-gerrit-repo-patch: |
| destination-dir: 'cord' |
| project: '$GERRIT_PROJECT' |
| change-number: '$GERRIT_CHANGE_NUMBER' |
| patchset-number: '$GERRIT_PATCHSET_NUMBER' |
| - shell: !include-raw-escape: shell/xos-unit.sh |
| |
| publishers: |
| - junit: |
| results: "**/nose2-junit.xml" |
| - cobertura: |
| report-file: "**/coverage.xml" |
| targets: |
| - files: |
| healthy: 80 |
| unhealthy: 0 |
| failing: 0 |
| - method: |
| healthy: 50 |
| unhealthy: 0 |
| failing: 0 |