blob: 7ac4eed5387ab40541ec725bccf1d81e2bc4098b [file] [log] [blame]
Kailash Khalasia5c04552019-01-17 18:24:11 +00001---
Kailash74eed212019-05-07 09:57:59 -07002# VOLTHA-Automated-Tests
Kailash Khalasia5c04552019-01-17 18:24:11 +00003
4- project:
Kailash74eed212019-05-07 09:57:59 -07005 name: voltha-atests
Kailash Khalasia5c04552019-01-17 18:24:11 +00006
7 project-name: 'voltha'
8
9 jobs:
10 - 'voltha-atest-provisioning'
11
12- job-template:
13 id: voltha-atest-provisioning
14 name: 'voltha-atest-provisioning'
15 description: |
16 Created by {id} job-template from ci-management/jjb/voltha-atest-provisioning.yaml
Kailash74eed212019-05-07 09:57:59 -070017 Voltha automated tests run per commit. Voltha testing with ponsim to validate voltha+ponsim
Kailash Khalasia5c04552019-01-17 18:24:11 +000018
19 triggers:
20 - cord-infra-gerrit-trigger-patchset:
21 gerrit-server-name: '{gerrit-server-name}'
22 project-regexp: 'voltha'
Kailashcddcc462019-06-25 08:42:05 -070023 branch-regexp: '^(master|voltha-1.7)$'
Kailash Khalasia5c04552019-01-17 18:24:11 +000024 dependency-jobs: '{dependency-jobs}'
25 file-include-regexp: '{all-files-regexp}'
26
27 properties:
28 - cord-infra-properties:
29 build-days-to-keep: '{build-days-to-keep}'
30 artifact-num-to-keep: '{artifact-num-to-keep}'
31
32 wrappers:
33 - lf-infra-wrappers:
34 build-timeout: '{build-timeout}'
35 jenkins-ssh-credential: '{jenkins-ssh-credential}'
36
37 parameters:
38 - string:
39 name: executorNode
40 default: 'qct-pod3-voltha-testing'
41 description: 'Name of the Jenkins node to run the job on'
42
43 - string:
44 name: manifestUrl
45 default: '{gerrit-server-url}/{cord-repo-manifest}'
46 description: 'URL to the repo manifest'
47
48 - string:
49 name: manifestBranch
50 default: 'master'
51 description: 'Name of the repo branch to use'
52
53 - string:
hwchiu14f97852019-10-08 10:51:11 -070054 name: gerritChangeNumber
55 default: '$GERRIT_CHANGE_NUMBER'
56 description: 'Changeset number in Gerrit'
Kailash Khalasia5c04552019-01-17 18:24:11 +000057
58 - string:
hwchiu14f97852019-10-08 10:51:11 -070059 name: gerritPatchsetNumber
60 default: '$GERRIT_PATCHSET_NUMBER'
61 description: 'PatchSet number in Gerrit'
Kailash Khalasia5c04552019-01-17 18:24:11 +000062
Kailashc24db752019-05-07 14:01:40 -070063 - string:
hwchiu14f97852019-10-08 10:51:11 -070064 name: adapter
65 default: ''
66 description: 'BLANK for ponsim'
Kailash74eed212019-05-07 09:57:59 -070067 - bool:
hwchiu14f97852019-10-08 10:51:11 -070068 name: BuildVoltha
69 default: true
70 description: 'Build modified voltha component'
Kailash74eed212019-05-07 09:57:59 -070071
72 - bool:
hwchiu14f97852019-10-08 10:51:11 -070073 name: BuildBbsim
74 default: false
75 description: 'Build modified bbsim component'
Kailash74eed212019-05-07 09:57:59 -070076
77 project-type: pipeline
78 concurrent: false
79
80 dsl: !include-raw-escape: pipeline/voltha-atest-provisioning.groovy