blob: dd73d675e472d5fdaed202afddd14e1ced71a7b9 [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}'
Kailashaadf2742019-03-05 10:10:53 -080032 branch: 'master'
Zack Williams3798b412018-07-12 15:31:52 -070033 destination-dir: 'cord'
Kailash Khalasie6f414c2018-05-14 13:40:36 -070034
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070035 node: 'ubuntu18.04-basebuild-1c-2g'
Kailash Khalasie6f414c2018-05-14 13:40:36 -070036 project-type: freestyle
37 concurrent: true
38
39 builders:
Zack Williamsbe542312022-06-23 21:51:32 -070040 - onf-infra-gerrit-repo-patch:
41 basedir: 'cord'
Zack Williams3798b412018-07-12 15:31:52 -070042 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:
Scott Baker49d8e1a2019-03-29 10:09:21 -070049 results: "**/*junit.xml,**/*results.xml"
Zack Williams3798b412018-07-12 15:31:52 -070050 - 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
Joey Armstrongaf679da2023-01-31 14:22:41 -050061
62# [EOF]