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