blob: f980cbc8c2d9c0d2e642a91326d30a21e20fb1a7 [file] [log] [blame]
Zack Williamsfea6c522018-10-17 10:50:41 -07001---
2# verification jobs for 'openolt' repo
3
4- project:
5 name: openolt
6 project: '{name}'
7
8 jobs:
9 - 'verify-openolt-jobs':
Zack Williamsa9d95112019-07-31 11:05:24 -070010 branch-regexp: '{all-branches-regexp}'
Zack Williamsfea6c522018-10-17 10:50:41 -070011
12- job-group:
13 name: 'verify-openolt-jobs'
14 jobs:
15 - 'verify-licensed'
Zack Williamsec2b3e22020-02-23 08:44:59 -070016 - 'make-unit-test':
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070017 build-node: 'ubuntu18.04-basebuild-2c-4g'
Zack Williamsec2b3e22020-02-23 08:44:59 -070018 unit-test-targets: 'test'
Zack Williams3715d582020-02-24 10:40:27 -070019 # openolt uses gtest which outputs in xunit format
20 junit-allow-empty-results: true
21 xunit-skip-if-no-test-files: false
Zack Williamsec2b3e22020-02-23 08:44:59 -070022
Zack Williamsfea6c522018-10-17 10:50:41 -070023- job-template:
24 id: 'openolt-tests'
25 name: 'verify_{project}_tests'
26
27 description: |
28 Created by {id} job-template from ci-management/jjb/verify/openolt.yaml
29
30 triggers:
31 - cord-infra-gerrit-trigger-patchset:
32 gerrit-server-name: '{gerrit-server-name}'
33 project-regexp: '^{project}$'
34 branch-regexp: '{branch-regexp}'
35 dependency-jobs: '{dependency-jobs}'
36 file-include-regexp: '{all-files-regexp}'
37
38 properties:
39 - cord-infra-properties:
40 build-days-to-keep: '{build-days-to-keep}'
41 artifact-num-to-keep: '{artifact-num-to-keep}'
42
Zack Williamsfea6c522018-10-17 10:50:41 -070043 node: 'openolt_deb_onf_agent'
44 project-type: pipeline
45 concurrent: true
46
47 pipeline-scm:
48 script-path: 'Jenkinsfile.test'
49 scm:
50 - cord-infra-gerrit-scm:
51 git-url: '$GIT_URL/$GERRIT_PROJECT'
52 refspec: '$GERRIT_REFSPEC'
53 branch: '$GERRIT_BRANCH'
54 submodule-recursive: 'false'
55 choosing-strategy: 'gerrit'
56 jenkins-ssh-credential: '{jenkins-ssh-credential}'
57 basedir: ''
Joey Armstrongaf679da2023-01-31 14:22:41 -050058
59# [EOF]