blob: 0ae1b3cf3edcebec136ea05fb23dd854b978e3bb [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':
10 branch-regexp: '{supported-branches-regexp}'
11
12- job-group:
13 name: 'verify-openolt-jobs'
14 jobs:
15 - 'verify-licensed'
16 - 'tag-collision-reject':
17 dependency-jobs: 'verify_openolt_licensed'
18 - 'verify-sonarqube':
19 dependency-jobs: 'verify_openolt_tag-collision'
20# - 'openolt-tests':
21# dependency-jobs: 'verify_openolt_sonarqube'
22
23- 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
43 parameters:
44 - string:
45 name: notificationEmail
46 default: '$GERRIT_EVENT_ACCOUNT_EMAIL'
47 description: 'Verification failure of patch $GERRIT_CHANGE_NUMBER to {project} repo'
48
49 node: 'openolt_deb_onf_agent'
50 project-type: pipeline
51 concurrent: true
52
53 pipeline-scm:
54 script-path: 'Jenkinsfile.test'
55 scm:
56 - cord-infra-gerrit-scm:
57 git-url: '$GIT_URL/$GERRIT_PROJECT'
58 refspec: '$GERRIT_REFSPEC'
59 branch: '$GERRIT_BRANCH'
60 submodule-recursive: 'false'
61 choosing-strategy: 'gerrit'
62 jenkins-ssh-credential: '{jenkins-ssh-credential}'
63 basedir: ''