Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 1 | --- |
| 2 | # verification jobs for 'openolt' repo |
| 3 | |
| 4 | - project: |
| 5 | name: openolt |
| 6 | project: '{name}' |
| 7 | |
| 8 | jobs: |
| 9 | - 'verify-openolt-jobs': |
Zack Williams | a9d9511 | 2019-07-31 11:05:24 -0700 | [diff] [blame] | 10 | branch-regexp: '{all-branches-regexp}' |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 11 | |
| 12 | - job-group: |
| 13 | name: 'verify-openolt-jobs' |
| 14 | jobs: |
| 15 | - 'verify-licensed' |
Zack Williams | ec2b3e2 | 2020-02-23 08:44:59 -0700 | [diff] [blame] | 16 | - '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 Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 24 | # - '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: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 49 | name: notificationEmail |
| 50 | default: '$GERRIT_EVENT_ACCOUNT_EMAIL' |
| 51 | description: 'Verification failure of patch $GERRIT_CHANGE_NUMBER to {project} repo' |
Zack Williams | fea6c52 | 2018-10-17 10:50:41 -0700 | [diff] [blame] | 52 | |
| 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: '' |