blob: bc25b3781dc9e21e2f8968e273ae7eb9de19ad2a [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
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070031 default: 'ubuntu18.04-basebuild-4c-8g'
Scott Bakerff887712020-04-29 13:39:41 -070032 description: 'Name of the Jenkins node to run the job on'
33
34 - string:
Matteo Scandolo37f168b2021-04-15 16:20:46 -070035 name: branch
Scott Bakerff887712020-04-29 13:39:41 -070036 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 Scandolo37f168b2021-04-15 16:20:46 -070045 name: gerritRefspec
46 default: '$GERRIT_REFSPEC'
47 description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"'
Scott Bakerff887712020-04-29 13:39:41 -070048
49 - string:
50 name: extraHelmFlags
51 default: '{extra-helm-flags}'
Matteo Scandoloaf402982021-05-07 11:19:06 -070052 description: 'Helm flags to pass to every helm install command'
Scott Bakerff887712020-04-29 13:39:41 -070053
Matteo Scandolo37f168b2021-04-15 16:20:46 -070054 - 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 Bakerff887712020-04-29 13:39:41 -070064 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 Armstrongaf679da2023-01-31 14:22:41 -050096
97# [EOF]