Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 1 | --- |
| 2 | # device-management tests |
| 3 | |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 4 | - job-template: |
| 5 | id: 'device-management-patch-test' |
| 6 | name: 'verify_{project}_sanity-test{name-extension}' |
| 7 | extra-helm-flags: '' |
| 8 | skip-vote: false |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 9 | volthaSystemTestsChange: '' |
| 10 | volthaHelmChartsChange: '' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 11 | |
| 12 | description: | |
| 13 | <!-- Managed by Jenkins Job Builder --> |
| 14 | Created by {id} job-template from ci-management/jjb/device-management.yaml <br /><br /> |
| 15 | Validation for device-management using mock redfish servers |
| 16 | |
| 17 | properties: |
Joey Armstrong | 8e1de65 | 2022-09-02 12:09:52 -0400 | [diff] [blame] | 18 | - onf-infra-volthadevs-permissions |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 19 | - cord-infra-properties: |
| 20 | build-days-to-keep: '{build-days-to-keep}' |
| 21 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 22 | |
| 23 | wrappers: |
| 24 | - lf-infra-wrappers: |
| 25 | build-timeout: '{build-timeout}' |
| 26 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 27 | |
| 28 | parameters: |
| 29 | - string: |
| 30 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 31 | default: 'ubuntu18.04-basebuild-4c-8g' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 32 | description: 'Name of the Jenkins node to run the job on' |
| 33 | |
| 34 | - string: |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 35 | name: branch |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 36 | default: 'master' |
| 37 | description: 'Name of the repo branch to use' |
| 38 | |
| 39 | - string: |
| 40 | name: gerritProject |
| 41 | default: '$GERRIT_PROJECT' |
| 42 | description: 'Name of the Gerrit project' |
| 43 | |
| 44 | - string: |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 45 | name: gerritRefspec |
| 46 | default: '$GERRIT_REFSPEC' |
| 47 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 48 | |
| 49 | - string: |
| 50 | name: extraHelmFlags |
| 51 | default: '{extra-helm-flags}' |
Matteo Scandolo | af40298 | 2021-05-07 11:19:06 -0700 | [diff] [blame] | 52 | description: 'Helm flags to pass to every helm install command' |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 53 | |
Matteo Scandolo | 37f168b | 2021-04-15 16:20:46 -0700 | [diff] [blame] | 54 | - string: |
| 55 | name: volthaSystemTestsChange |
| 56 | default: '{volthaSystemTestsChange}' |
| 57 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 58 | |
| 59 | - string: |
| 60 | name: volthaHelmChartsChange |
| 61 | default: '{volthaHelmChartsChange}' |
| 62 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 63 | |
Scott Baker | ff88771 | 2020-04-29 13:39:41 -0700 | [diff] [blame] | 64 | project-type: pipeline |
| 65 | concurrent: true |
| 66 | |
| 67 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 68 | |
| 69 | triggers: |
| 70 | - gerrit: |
| 71 | server-name: '{gerrit-server-name}' |
| 72 | dependency-jobs: '{dependency-jobs}' |
| 73 | silent-start: true |
| 74 | trigger-on: |
| 75 | - patchset-created-event: |
| 76 | exclude-drafts: true |
| 77 | exclude-trivial-rebase: false |
| 78 | exclude-no-code-change: true |
| 79 | - draft-published-event |
| 80 | - comment-added-contains-event: |
| 81 | comment-contains-value: '(?i)^.*recheck$' |
| 82 | projects: |
| 83 | - project-compare-type: REG_EXP |
| 84 | project-pattern: '^device-management$' |
| 85 | branches: |
| 86 | - branch-compare-type: REG_EXP |
| 87 | branch-pattern: '{branch-regexp}' |
| 88 | file-paths: |
| 89 | - compare-type: REG_EXP |
| 90 | pattern: '{all-files-regexp}' |
| 91 | skip-vote: |
| 92 | successful: '{skip-vote}' |
| 93 | failed: '{skip-vote}' |
| 94 | unstable: '{skip-vote}' |
| 95 | notbuilt: '{skip-vote}' |
Joey Armstrong | af679da | 2023-01-31 14:22:41 -0500 | [diff] [blame] | 96 | |
| 97 | # [EOF] |