blob: c2fd1426a5ec1f98c85f5b80c4de6ed0f168495a [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 - 'tag-collision-reject'
17 - 'make-unit-test':
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070018 build-node: 'ubuntu18.04-basebuild-2c-4g'
Zack Williamsec2b3e22020-02-23 08:44:59 -070019 unit-test-targets: 'test'
Zack Williams3715d582020-02-24 10:40:27 -070020 # openolt uses gtest which outputs in xunit format
21 junit-allow-empty-results: true
22 xunit-skip-if-no-test-files: false
Zack Williamsec2b3e22020-02-23 08:44:59 -070023
Zack Williamsfea6c522018-10-17 10:50:41 -070024- job-template:
25 id: 'openolt-tests'
26 name: 'verify_{project}_tests'
27
28 description: |
29 Created by {id} job-template from ci-management/jjb/verify/openolt.yaml
30
31 triggers:
32 - cord-infra-gerrit-trigger-patchset:
33 gerrit-server-name: '{gerrit-server-name}'
34 project-regexp: '^{project}$'
35 branch-regexp: '{branch-regexp}'
36 dependency-jobs: '{dependency-jobs}'
37 file-include-regexp: '{all-files-regexp}'
38
39 properties:
40 - cord-infra-properties:
41 build-days-to-keep: '{build-days-to-keep}'
42 artifact-num-to-keep: '{artifact-num-to-keep}'
43
Zack Williamsfea6c522018-10-17 10:50:41 -070044 node: 'openolt_deb_onf_agent'
45 project-type: pipeline
46 concurrent: true
47
48 pipeline-scm:
49 script-path: 'Jenkinsfile.test'
50 scm:
51 - cord-infra-gerrit-scm:
52 git-url: '$GIT_URL/$GERRIT_PROJECT'
53 refspec: '$GERRIT_REFSPEC'
54 branch: '$GERRIT_BRANCH'
55 submodule-recursive: 'false'
56 choosing-strategy: 'gerrit'
57 jenkins-ssh-credential: '{jenkins-ssh-credential}'
58 basedir: ''