blob: b6195693a46d70ce1ff8efc998a358e33e4233a2 [file] [log] [blame]
Kailash Khalasie6f414c2018-05-14 13:40:36 -07001---
2# xos unit test
3
4- job-template:
5 id: 'xos-unit-test'
Kailash Khalasi38cb5cd2018-05-16 09:49:15 -07006 name: 'verify_{project}_unit-test'
Kailash Khalasie6f414c2018-05-14 13:40:36 -07007
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}'
Zack Williamsba2aea02018-12-17 22:37:45 -070017 file-include-regexp: '{code-files-regexp}'
Kailash Khalasie6f414c2018-05-14 13:40:36 -070018
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 Williams3798b412018-07-12 15:31:52 -070030 - cord-infra-gerrit-repo-scm:
31 manifest-url: '{gerrit-server-url}/{cord-repo-manifest}'
Kailash Khalasie6f414c2018-05-14 13:40:36 -070032 branch: '$GERRIT_BRANCH'
Zack Williams3798b412018-07-12 15:31:52 -070033 destination-dir: 'cord'
Kailash Khalasie6f414c2018-05-14 13:40:36 -070034
35 node: 'ubuntu16.04-basebuild-1c-2g'
36 project-type: freestyle
37 concurrent: true
38
39 builders:
Zack Williams3798b412018-07-12 15:31:52 -070040 - 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 Khalasie6f414c2018-05-14 13:40:36 -070046
Zack Williams3798b412018-07-12 15:31:52 -070047 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 Khalasie6f414c2018-05-14 13:40:36 -070061