blob: 5918318aff35a1f20035fb2ed161cb8997e2ecb3 [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
13 build-days-to-keep: '{build-days-to-keep}'
14 artifact-num-to-keep: '{artifact-num-to-keep}'
15
Kailash Khalasi417d13f2018-04-17 12:38:48 -070016
17- job-template:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070018 name: 'build_{profile}_{testvm}_{scenario}_{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070019 id: build_pod_manual
20 description: |
21 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070022 Manual Build on POD {config-pod} using {Jenkinsfile} <br /><br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070023 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
24 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
25 Copyright (c) 2018 Open Networking Foundation (ONF)
26
27 <<: *test-pipe-job-boiler-plate
28
29 parameters:
30 - string:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070031 name: TestNodeName
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070032 default: '{testvm}'
33 description: 'Jenkins node name of TestVM Node'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070034
35 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070036 name: cordRepoUrl
37 default: '{gerrit-server-url}'
38 description: 'The URL of the CORD Project repository'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070039
40 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070041 name: configBaseDir
42 default: 'pod-configs'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070043 description: 'The directory inside the POD configs repository'
44
45 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070046 name: configDeploymentDir
47 default: 'deployment-configs'
48 description: 'The deployment configs folder'
49
50 - string:
51 name: configKubernetesDir
52 default: 'kubernetes-configs'
53 description: 'The kubernetes config folder'
54
55 - string:
56 name: configFileName
57 default: '{config-pod}'
58 description: 'The config file'
59
60 - string:
61 name: oltDebVersion
62 default: '{oltDebVersion}'
63 description: 'OLT Software version to install'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070064
65 - string:
66 name: branch
67 default: '{branch}'
68
69 - string:
70 name: notificationEmail
71 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
72 description: ''
73
74 concurrent: true
75
76 pipeline-scm:
77 script-path: '{Jenkinsfile}'
78 scm:
79 - git:
Kailash Khalasi7637aeb2018-08-23 10:30:09 -070080 url: '{gerrit-server-url}/cord-tester'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070081 branches:
82 - '{branch}'
83
84- job-template:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070085 name: 'build_{profile}_{config-pod}_{scenario}_{branch}'
86 id: build_pod_timer
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -070087 description: |
88 <!-- Managed by Jenkins Job Builder -->
Kailash Khalasi2eacfc52018-08-29 09:03:21 -070089 Nightly Kubernetes tests on {config-pod} <br /><br />
Suchitra Vemuricbb295e2018-06-01 18:48:30 -070090 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
91 Created by Suchitra Vemuri, suchitra@opennetworking.org <br />
92 Copyright (c) 2017 Open Networking Foundation (ONF)
93
94 <<: *test-pipe-job-boiler-plate
95
96 parameters:
97 - string:
98 name: TestNodeName
99 default: '{testvm}'
100 description: 'Jenkins node name of TestVM Node'
101
102 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700103 name: cordRepoUrl
104 default: '{gerrit-server-url}'
105 description: 'The URL of the CORD Project repository'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700106
107 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700108 name: configBaseDir
109 default: 'pod-configs'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700110 description: 'The directory inside the POD configs repository'
111
112 - string:
Kailash Khalasi2eacfc52018-08-29 09:03:21 -0700113 name: configDeploymentDir
114 default: 'deployment-configs'
115 description: 'The deployment configs folder'
116
117 - string:
118 name: configKubernetesDir
119 default: 'kubernetes-configs'
120 description: 'The kubernetes config folder'
121
122 - string:
123 name: configFileName
124 default: '{config-pod}'
125 description: 'The config file'
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700126
127 - string:
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700128 name: oltDebVersion
Kailash Khalasibd659412018-08-28 10:37:05 -0700129 default: '{oltDebVersion}'
Kailash Khalasid9e6aff2018-08-27 15:10:16 -0700130 description: 'OLT Software version to install'
131
132 - string:
Suchitra Vemuricbb295e2018-06-01 18:48:30 -0700133 name: branch
134 default: '{branch}'
135
136 - string:
137 name: notificationEmail
138 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
139 description: ''
140
141 concurrent: true
142
143 pipeline-scm:
144 script-path: '{Jenkinsfile}'
145 scm:
146 - git:
147 url: '{gerrit-server-url}/cord-tester'
148 branches:
149 - '{branch}'
150
151 triggers:
152 - timed: |
153 TZ=America/Los_Angeles
Suchitra Vemuri6f81c812018-08-06 12:46:36 -0700154 H {time} {day} * *