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