blob: ba77feb34a0a8e30b16cd3ea87523994b6415e4e [file] [log] [blame]
Scott Bakerff887712020-04-29 13:39:41 -07001---
2# device-management tests
3
Scott Bakerff887712020-04-29 13:39:41 -07004- 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 Scandolo37f168b2021-04-15 16:20:46 -07009 volthaSystemTestsChange: ''
10 volthaHelmChartsChange: ''
Scott Bakerff887712020-04-29 13:39:41 -070011
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 Armstrong8e1de652022-09-02 12:09:52 -040018 - onf-infra-volthadevs-permissions
Scott Bakerff887712020-04-29 13:39:41 -070019 - 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
Joey Armstrongc5194c42024-07-23 15:31:18 -040031 # default: 'ubuntu18.04-basebuild-4c-8g'
Joey Armstrong6fb53fb2024-08-27 16:44:29 -040032 default: 'ubuntu18.04-basebuild-8c-15g'
Scott Bakerff887712020-04-29 13:39:41 -070033 description: 'Name of the Jenkins node to run the job on'
34
35 - string:
Matteo Scandolo37f168b2021-04-15 16:20:46 -070036 name: branch
Scott Bakerff887712020-04-29 13:39:41 -070037 default: 'master'
38 description: 'Name of the repo branch to use'
39
40 - string:
41 name: gerritProject
42 default: '$GERRIT_PROJECT'
43 description: 'Name of the Gerrit project'
44
45 - string:
Matteo Scandolo37f168b2021-04-15 16:20:46 -070046 name: gerritRefspec
47 default: '$GERRIT_REFSPEC'
48 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Scott Bakerff887712020-04-29 13:39:41 -070049
50 - string:
51 name: extraHelmFlags
52 default: '{extra-helm-flags}'
Matteo Scandoloaf402982021-05-07 11:19:06 -070053 description: 'Helm flags to pass to every helm install command'
Scott Bakerff887712020-04-29 13:39:41 -070054
Matteo Scandolo37f168b2021-04-15 16:20:46 -070055 - string:
56 name: volthaSystemTestsChange
57 default: '{volthaSystemTestsChange}'
58 description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"'
59
60 - string:
61 name: volthaHelmChartsChange
62 default: '{volthaHelmChartsChange}'
63 description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"'
64
Scott Bakerff887712020-04-29 13:39:41 -070065 project-type: pipeline
66 concurrent: true
67
68 dsl: !include-raw-escape: pipeline/{pipeline-script}
69
70 triggers:
71 - gerrit:
72 server-name: '{gerrit-server-name}'
73 dependency-jobs: '{dependency-jobs}'
74 silent-start: true
75 trigger-on:
76 - patchset-created-event:
77 exclude-drafts: true
78 exclude-trivial-rebase: false
79 exclude-no-code-change: true
80 - draft-published-event
81 - comment-added-contains-event:
82 comment-contains-value: '(?i)^.*recheck$'
83 projects:
84 - project-compare-type: REG_EXP
85 project-pattern: '^device-management$'
86 branches:
87 - branch-compare-type: REG_EXP
88 branch-pattern: '{branch-regexp}'
89 file-paths:
90 - compare-type: REG_EXP
91 pattern: '{all-files-regexp}'
92 skip-vote:
93 successful: '{skip-vote}'
94 failed: '{skip-vote}'
95 unstable: '{skip-vote}'
96 notbuilt: '{skip-vote}'
Joey Armstrongaf679da2023-01-31 14:22:41 -050097
98# [EOF]