blob: 91159f6fb1211f36a12e1ad52c1e8c4c2dc6c847 [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':
Zack Williams3715d582020-02-24 10:40:27 -070018 build-node: 'ubuntu16.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
24# This and the job-template below were written in October 2018
25#
26# Unknown if it is still relevant - the executor in Jenkins does not exist.
27#
Zack Williamsfea6c522018-10-17 10:50:41 -070028# - 'openolt-tests':
29# dependency-jobs: 'verify_openolt_sonarqube'
30
31- job-template:
32 id: 'openolt-tests'
33 name: 'verify_{project}_tests'
34
35 description: |
36 Created by {id} job-template from ci-management/jjb/verify/openolt.yaml
37
38 triggers:
39 - cord-infra-gerrit-trigger-patchset:
40 gerrit-server-name: '{gerrit-server-name}'
41 project-regexp: '^{project}$'
42 branch-regexp: '{branch-regexp}'
43 dependency-jobs: '{dependency-jobs}'
44 file-include-regexp: '{all-files-regexp}'
45
46 properties:
47 - cord-infra-properties:
48 build-days-to-keep: '{build-days-to-keep}'
49 artifact-num-to-keep: '{artifact-num-to-keep}'
50
51 parameters:
52 - string:
hwchiu14f97852019-10-08 10:51:11 -070053 name: notificationEmail
54 default: '$GERRIT_EVENT_ACCOUNT_EMAIL'
55 description: 'Verification failure of patch $GERRIT_CHANGE_NUMBER to {project} repo'
Zack Williamsfea6c522018-10-17 10:50:41 -070056
57 node: 'openolt_deb_onf_agent'
58 project-type: pipeline
59 concurrent: true
60
61 pipeline-scm:
62 script-path: 'Jenkinsfile.test'
63 scm:
64 - cord-infra-gerrit-scm:
65 git-url: '$GIT_URL/$GERRIT_PROJECT'
66 refspec: '$GERRIT_REFSPEC'
67 branch: '$GERRIT_BRANCH'
68 submodule-recursive: 'false'
69 choosing-strategy: 'gerrit'
70 jenkins-ssh-credential: '{jenkins-ssh-credential}'
71 basedir: ''