blob: 8f468b49cb8c529ed01630805f6566ce305031ba [file] [log] [blame]
Kailashbe4dc092019-01-23 09:22:17 -08001---
Zack Williams73c3cf42019-02-25 23:43:22 -07002# omec-ci jobs
Zack Williams5d81f812019-02-27 14:37:09 -07003# Uses github pull request builder to trigger and Jenkinsfiles from this repo
4# https://github.com/omec-project/omec-project-ci
Kailashbe4dc092019-01-23 09:22:17 -08005
Zack Williams320b3142019-03-14 23:10:01 -07006# generic OMEC test-case jobs, shared by other projects and triggered within pipelines
7- project:
8 name: omec
Zack Williamsb3292082019-10-11 17:15:18 -07009 build-node: 'intel-102'
You Wang3111c952020-06-12 17:53:04 -070010 github-organization: 'omec-project'
You Wang1ebab212020-11-17 16:39:56 -080011 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080012 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams320b3142019-03-14 23:10:01 -070013
14 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
15 github_pr_org_list:
16 - 'omec-project'
17
18 jobs:
19 - 'omec-tc1'
20 - 'omec-tc2'
You Wang3cc17af2020-06-12 14:56:10 -070021 - 'omec-deploy':
22 pod: 'dev'
23 build-node: 'omec-ci'
You Wang35c6d5c2020-11-22 10:42:58 -080024 cp-context: 'dev-acc-gcp'
25 dp-context: 'dev-ace-menlo'
26 central-config: 'dev-acc-gcp/app_values/omec-cp.yaml'
27 edge-config: 'dev-ace-menlo/app_values/omec-upf.yaml'
You Wang3cc17af2020-06-12 14:56:10 -070028 - 'omec-ng40-test':
29 pod: 'dev'
Jeremy Ronquillo083fc462020-10-14 20:44:39 +000030 build-node: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -070031 ng40-vm: 'ng40@192.168.122.101'
You Wang35c6d5c2020-11-22 10:42:58 -080032 cp-context: 'dev-acc-gcp'
33 dp-context: 'dev-ace-menlo'
You Wangc8955b12020-06-19 14:22:12 -070034 - 'omec-archive-artifacts':
35 pod: 'dev'
36 build-node: 'omec-ci'
You Wang35c6d5c2020-11-22 10:42:58 -080037 cp-context: 'dev-acc-gcp'
38 dp-context: 'dev-ace-menlo'
You Wangc1f71962020-10-06 16:26:34 -070039 log-since: '1h'
You Wang5c15a7a2020-04-02 11:24:33 -070040 - 'omec-postmerge':
41 project: '{name}'
You Wang40239452020-06-11 20:17:15 -070042 build-node: 'omec-ci'
You Wangb8bfa932020-05-29 16:22:15 -070043 c3po-branch-name: 'master'
You Wang425d49f2020-07-29 21:43:28 -070044 spgw-branch-name: 'master'
You Wang40239452020-06-11 20:17:15 -070045 nucleus-branch-name: 'master'
You Wange1cbba22020-06-15 21:16:14 -070046 upf-branch-name: 'master'
You Wang5c15a7a2020-04-02 11:24:33 -070047 pipeline-file: 'omec-postmerge.groovy'
Zack Williams320b3142019-03-14 23:10:01 -070048
Zack Williams73c3cf42019-02-25 23:43:22 -070049# for ngic-rtc
Kailashbe4dc092019-01-23 09:22:17 -080050- project:
Zack Williams73c3cf42019-02-25 23:43:22 -070051 name: ngic-rtc
52 project: '{name}'
Kailashbe4dc092019-01-23 09:22:17 -080053
Zack Williamsb3292082019-10-11 17:15:18 -070054 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070055 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070056 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
57 github_pr_org_list:
58 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -080059 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080060 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070061
Kailashbe4dc092019-01-23 09:22:17 -080062 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070063 - 'omec-combined':
64 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070065 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070066 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -070067 sub-project: '{name}'
You Wang4cba3612020-04-29 16:47:10 -070068 branch: 'central-cp-multi-upfs'
Zack Williams73c3cf42019-02-25 23:43:22 -070069 pipeline-file: 'Jenkinsfile-omec-install-ngic-rtc-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080070 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080071 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070072 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -080073 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -080074 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -070075 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -070076 - 'docker-publish-github':
77 build-timeout: 30
78 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -070079 build-node: 'ubuntu16.04-basebuild-4c-8g'
You Wang3cc17af2020-06-12 14:56:10 -070080 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -070081
Zack Williamse306e572019-04-18 07:12:46 -070082# for c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070083- project:
Zack Williamse306e572019-04-18 07:12:46 -070084 name: c3po
Zack Williams73c3cf42019-02-25 23:43:22 -070085 project: '{name}'
86
Zack Williamsb3292082019-10-11 17:15:18 -070087 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -070088 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -070089 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
90 github_pr_org_list:
91 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -080092 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -080093 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -070094
Zack Williams73c3cf42019-02-25 23:43:22 -070095 jobs:
Zack Williams320b3142019-03-14 23:10:01 -070096 - 'omec-combined':
97 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang81cc00c2020-06-15 15:32:53 -070098 mme-repo: 'Nucleus'
Zack Williams320b3142019-03-14 23:10:01 -070099 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700100 sub-project: 'c3po-sgx'
You Wang8addd4c2020-04-14 16:25:57 -0700101 branch: 'master'
Zack Williams62021452019-04-15 13:23:46 -0700102 pipeline-file: 'Jenkinsfile-omec-install-c3po-sgx-vnf.groovy'
Zack Williamse306e572019-04-18 07:12:46 -0700103 - 'omec-install':
104 sub-project: 'c3po-hss'
You Wang8addd4c2020-04-14 16:25:57 -0700105 branch: 'master'
Zack Williamse306e572019-04-18 07:12:46 -0700106 pipeline-file: 'Jenkinsfile-omec-install-c3po-hss-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800107 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800108 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700109 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800110 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800111 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700112 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700113 - 'docker-publish-github':
114 build-timeout: 30
115 docker-repo: 'omecproject'
You Wang715d5fc2020-04-30 16:23:35 -0700116 build-node: 'ubuntu16.04-basebuild-8c-15g'
You Wang3cc17af2020-06-12 14:56:10 -0700117 - 'omec-container'
Zack Williams73c3cf42019-02-25 23:43:22 -0700118
119# for openmme
120- project:
121 name: openmme
122 project: '{name}'
123
Zack Williamsdf7f9d32019-11-05 07:40:20 -0700124 build-node: 'intel-102'
Zack Williams1e325b22019-07-24 17:52:57 -0700125 github-organization: 'omec-project'
Zack Williams5d81f812019-02-27 14:37:09 -0700126 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
127 github_pr_org_list:
128 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800129 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800130 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Zack Williams5d81f812019-02-27 14:37:09 -0700131
Zack Williams73c3cf42019-02-25 23:43:22 -0700132 jobs:
Zack Williams320b3142019-03-14 23:10:01 -0700133 - 'omec-combined':
134 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
You Wang83055442020-04-17 14:54:40 -0700135 mme-repo: 'openmme'
Zack Williams320b3142019-03-14 23:10:01 -0700136 - 'omec-install':
Zack Williamse306e572019-04-18 07:12:46 -0700137 sub-project: '{name}'
You Wanga1dcf252020-05-19 17:22:42 -0700138 branch: 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700139 pipeline-file: 'Jenkinsfile-omec-install-openmme-vnf.groovy'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800140 - 'omec-fossa':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800141 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700142 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800143 - 'omec-reuse':
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800144 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700145 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams1e325b22019-07-24 17:52:57 -0700146 - 'docker-publish-github':
147 build-timeout: 30
148 docker-repo: 'omecproject'
You Wang8512b832020-03-25 14:47:56 -0700149 build-node: 'ubuntu16.04-basebuild-1c-2g'
Zack Williams73c3cf42019-02-25 23:43:22 -0700150
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800151# for nucleus
152- project:
153 name: Nucleus
154 project: '{name}'
155
156 build-node: 'intel-102'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800157 github-organization: 'omec-project'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800158 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
159 github_pr_org_list:
160 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800161 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800162 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800163
164 jobs:
You Wang83055442020-04-17 14:54:40 -0700165 - 'omec-combined':
166 pipeline-file: 'Jenkinsfile-omec-combined.groovy'
167 mme-repo: 'Nucleus'
168 - 'omec-install':
169 sub-project: '{name}'
170 branch: 'master'
171 pipeline-file: 'Jenkinsfile-omec-install-Nucleus-vnf.groovy'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800172 - 'omec-fossa':
173 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700174 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800175 - 'omec-reuse':
176 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700177 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800178 - 'omec-cppcheck':
179 pipeline-file: 'omec-cppcheck.groovy'
180 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangf5739552020-06-02 16:36:31 -0700181 - 'docker-publish-github':
182 build-timeout: 60
183 docker-repo: 'omecproject'
184 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wang3cc17af2020-06-12 14:56:10 -0700185 - 'omec-container'
Jeremy Ronquilloa9b8e4d2020-02-28 13:59:12 -0800186
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800187# for freediameter
188- project:
189 name: freediameter
190 project: '{name}'
191
192 build-node: 'intel-102'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800193 github-organization: 'omec-project'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800194 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
195 github_pr_org_list:
196 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800197 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800198 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800199
200 jobs:
201 - 'omec-fossa':
202 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700203 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800204 - 'omec-reuse':
205 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700206 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquilloea6d6202020-03-04 10:27:35 -0800207
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700208# for ignite
209- project:
210 name: ignite
211 project: '{name}'
212
213 build-node: 'intel-102'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700214 github-organization: 'omec-project'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700215 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
216 github_pr_org_list:
217 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800218 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800219 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700220
221 jobs:
222 - 'omec-fossa':
223 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700224 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700225 - 'omec-reuse':
226 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700227 build-node: 'ubuntu16.04-basebuild-1c-2g'
Jeremy Ronquillocc302e12020-03-30 11:44:49 -0700228
You Wangccc13492020-04-01 11:11:59 -0700229# for upf-epc
230- project:
231 name: upf-epc
232 project: '{name}'
233
234 github-organization: 'omec-project'
You Wangccc13492020-04-01 11:11:59 -0700235 github_pr_auth_id: '64fe2b1a-b33a-4f13-8442-ad8360434003'
236 github_pr_org_list:
237 - 'omec-project'
You Wang54afc7f2020-11-17 18:07:19 -0800238 registry: 'registry.aetherproject.org/omecproject'
You Wang8be478b2020-11-17 14:41:16 -0800239 registry-proxy: 'registry.aetherproject.org/proxy/omecproject'
You Wangccc13492020-04-01 11:11:59 -0700240
241 jobs:
242 - 'omec-fossa':
243 pipeline-file: 'omec-fossa-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700244 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700245 - 'omec-reuse':
246 pipeline-file: 'omec-reuse-scan.groovy'
Jeremy Ronquillo9b65c602020-08-17 11:43:57 -0700247 build-node: 'ubuntu16.04-basebuild-1c-2g'
You Wangccc13492020-04-01 11:11:59 -0700248 - 'docker-publish-github':
249 build-timeout: 30
250 docker-repo: 'omecproject'
You Wanged3a4c52020-04-04 15:44:29 -0700251 build-node: 'ubuntu16.04-basebuild-2c-4g'
You Wangfe70d412020-05-27 14:28:36 -0700252 extraEnvironmentVars: CPU=haswell
You Wange1cbba22020-06-15 21:16:14 -0700253 - 'omec-container'
You Wangccc13492020-04-01 11:11:59 -0700254
Zack Williams320b3142019-03-14 23:10:01 -0700255# Combined pipeline
Kailashbe4dc092019-01-23 09:22:17 -0800256- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700257 id: 'omec-combined'
258 name: 'omec_{project}_combined'
Kailashbe4dc092019-01-23 09:22:17 -0800259 project-type: pipeline
260
261 description: |
262 <!-- Managed by Jenkins Job Builder -->
Zack Williams73c3cf42019-02-25 23:43:22 -0700263 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
Kailashbe4dc092019-01-23 09:22:17 -0800264
265 properties:
266 - cord-infra-properties:
267 build-days-to-keep: '{build-days-to-keep}'
268 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700269 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700270 url: 'https://github.com/{github-organization}/{project}'
Zack Williams320b3142019-03-14 23:10:01 -0700271 - build-blocker:
272 use-build-blocker: true
273 blocking-jobs:
Zack Williams6af01fe2019-03-15 11:08:53 -0700274 - "omec_.*_combined"
Kailashbe4dc092019-01-23 09:22:17 -0800275
276 wrappers:
277 - lf-infra-wrappers:
278 build-timeout: '{build-timeout}'
279 jenkins-ssh-credential: '{jenkins-ssh-credential}'
280
281 parameters:
282 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700283 name: buildNode
284 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700285 description: 'Name of the Jenkins executor node to run the job on'
Kailashbe4dc092019-01-23 09:22:17 -0800286
287 - string:
hwchiu14f97852019-10-08 10:51:11 -0700288 name: project
289 default: '{project}'
290 description: 'Name of the project'
Kailashbe4dc092019-01-23 09:22:17 -0800291
You Wang83055442020-04-17 14:54:40 -0700292 - string:
293 name: mmeRepo
294 default: '{mme-repo}'
295 description: 'Name of the MME repo to test (openmme/Nucleus)'
296
Zack Williams73c3cf42019-02-25 23:43:22 -0700297 triggers:
Zack Williams5d81f812019-02-27 14:37:09 -0700298 - cord-infra-github-pr-trigger:
299 github_pr_org_list: '{obj:github_pr_org_list}'
300 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800301 status_context: 'CORD Jenkins - Combined Steps Verification'
Zack Williams73c3cf42019-02-25 23:43:22 -0700302
Zack Williams5d81f812019-02-27 14:37:09 -0700303 concurrent: false
Kailashbe4dc092019-01-23 09:22:17 -0800304
305 pipeline-scm:
Zack Williams73c3cf42019-02-25 23:43:22 -0700306 script-path: '{pipeline-file}'
307 scm:
308 - git:
hwchiu14f97852019-10-08 10:51:11 -0700309 url: 'https://github.com/{github-organization}/omec-project-ci'
310 branches:
311 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700312
Zack Williams320b3142019-03-14 23:10:01 -0700313# install jobs, run for each project
Zack Williams73c3cf42019-02-25 23:43:22 -0700314- job-template:
Zack Williams320b3142019-03-14 23:10:01 -0700315 id: 'omec-install'
Zack Williamse306e572019-04-18 07:12:46 -0700316 name: 'omec_{sub-project}_install'
Zack Williams73c3cf42019-02-25 23:43:22 -0700317 project-type: pipeline
318
319 description: |
320 <!-- Managed by Jenkins Job Builder -->
321 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
322
323 properties:
324 - cord-infra-properties:
325 build-days-to-keep: '{build-days-to-keep}'
326 artifact-num-to-keep: '{artifact-num-to-keep}'
327 - github:
Zack Williams1e325b22019-07-24 17:52:57 -0700328 url: 'https://github.com/{github-organization}/{project}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700329
330 wrappers:
331 - lf-infra-wrappers:
332 build-timeout: '{build-timeout}'
333 jenkins-ssh-credential: '{jenkins-ssh-credential}'
334
335 parameters:
336 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700337 name: buildNode
338 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700339 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700340
341 - string:
hwchiu14f97852019-10-08 10:51:11 -0700342 name: project
343 default: '{project}'
344 description: 'Name of the project'
Zack Williams73c3cf42019-02-25 23:43:22 -0700345
You Wang8addd4c2020-04-14 16:25:57 -0700346 - string:
347 name: branch
348 default: '{branch}'
349 description: 'Branch of the project'
350
Zack Williams320b3142019-03-14 23:10:01 -0700351 concurrent: false
352
353 pipeline-scm:
354 script-path: '{pipeline-file}'
355 scm:
356 - git:
hwchiu14f97852019-10-08 10:51:11 -0700357 url: 'https://github.com/{github-organization}/omec-project-ci'
358 branches:
359 - 'master'
Zack Williams320b3142019-03-14 23:10:01 -0700360
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800361# FOSSA License Scan
362- job-template:
363 id: 'omec-fossa'
364 name: 'omec_{project}_fossa'
365 project-type: pipeline
366
367 description: |
368 <!-- Managed by Jenkins Job Builder -->
369 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
370
371 properties:
372 - cord-infra-properties:
373 build-days-to-keep: '{build-days-to-keep}'
374 artifact-num-to-keep: '{artifact-num-to-keep}'
375 - github:
376 url: 'https://github.com/{github-organization}/{project}'
377
378 wrappers:
379 - lf-infra-wrappers:
380 build-timeout: '{build-timeout}'
381 jenkins-ssh-credential: '{jenkins-ssh-credential}'
382
383 parameters:
384 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700385 name: ghprbPullId
386 default: '$ghprbPullId'
387 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
388
389 - string:
390 name: branch
391 default: '$ghprbTargetBranch'
392 description: 'Branch to run. Only used when manually run.'
393
394 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800395 name: buildNode
396 default: '{build-node}'
397 description: 'Name of the Jenkins executor node to run the job on'
398
399 - string:
400 name: project
401 default: '{project}'
402 description: 'Name of the project'
403
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700404 - string:
405 name: ghprbGhRepository
406 default: '{github-organization}/{project}'
407 description: 'Repository of the project.'
408
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800409 triggers:
410 - cord-infra-github-pr-trigger:
411 github_pr_org_list: '{obj:github_pr_org_list}'
412 github_pr_auth_id: '{github_pr_auth_id}'
413 status_context: 'CORD Jenkins - FOSSA Verification'
414
415 concurrent: false
416
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800417 project-type: pipeline
418 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800419
420# REUSE License Scan
421- job-template:
422 id: 'omec-reuse'
423 name: 'omec_{project}_reuse'
424 project-type: pipeline
425
426 description: |
427 <!-- Managed by Jenkins Job Builder -->
428 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
429
430 properties:
431 - cord-infra-properties:
432 build-days-to-keep: '{build-days-to-keep}'
433 artifact-num-to-keep: '{artifact-num-to-keep}'
434 - github:
435 url: 'https://github.com/{github-organization}/{project}'
436
437 wrappers:
438 - lf-infra-wrappers:
439 build-timeout: '{build-timeout}'
440 jenkins-ssh-credential: '{jenkins-ssh-credential}'
441
442 parameters:
443 - string:
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700444 name: ghprbPullId
445 default: '$ghprbPullId'
446 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
447
448 - string:
449 name: branch
450 default: '$ghprbTargetBranch'
451 description: 'Branch to run. Only used when manually run.'
452
453 - string:
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800454 name: buildNode
455 default: '{build-node}'
456 description: 'Name of the Jenkins executor node to run the job on'
457
458 - string:
459 name: project
460 default: '{project}'
461 description: 'Name of the project'
462
Jeremy Ronquillo3ca065c2020-04-24 10:40:54 -0700463 - string:
464 name: ghprbGhRepository
465 default: '{github-organization}/{project}'
466 description: 'Repository of the project.'
467
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800468 triggers:
469 - cord-infra-github-pr-trigger:
470 github_pr_org_list: '{obj:github_pr_org_list}'
471 github_pr_auth_id: '{github_pr_auth_id}'
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800472 status_context: 'CORD Jenkins - Licenses Verification'
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800473
474 concurrent: false
475
Jeremy Ronquillof4b37be2020-01-31 13:44:14 -0800476 project-type: pipeline
477 dsl: !include-raw-escape: pipeline/{pipeline-file}
Jeremy Ronquillo9adc0a92020-01-29 10:49:45 -0800478
Jeremy Ronquillob8f07bb2020-12-03 12:01:45 -0800479# cppcheck
480- job-template:
481 id: 'omec-cppcheck'
482 name: 'omec_{project}-cppcheck'
483 project-type: pipeline
484
485 description: |
486 <!-- Managed by Jenkins Job Builder -->
487 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
488
489 properties:
490 - cord-infra-properties:
491 build-days-to-keep: '{build-days-to-keep}'
492 artifact-num-to-keep: '{artifact-num-to-keep}'
493 - github:
494 url: 'https://github.com/{github-organization}/{project}'
495
496 wrappers:
497 - lf-infra-wrappers:
498 build-timeout: '{build-timeout}'
499 jenkins-ssh-credential: '{jenkins-ssh-credential}'
500
501 parameters:
502 - string:
503 name: ghprbPullId
504 default: '$ghprbPullId'
505 description: 'Pull request number to fetch changes from. Leave blank to run manually.'
506
507 - string:
508 name: branch
509 default: '$ghprbTargetBranch'
510 description: 'Branch to run. Only used when manually run.'
511
512 - string:
513 name: buildNode
514 default: '{build-node}'
515 description: 'Name of the Jenkins executor node to run the job on'
516
517 - string:
518 name: project
519 default: '{project}'
520 description: 'Name of the project'
521
522 - string:
523 name: ghprbGhRepository
524 default: '{github-organization}/{project}'
525 description: 'Repository of the project.'
526
527 triggers:
528 - cord-infra-github-pr-trigger:
529 github_pr_org_list: '{obj:github_pr_org_list}'
530 github_pr_auth_id: '{github_pr_auth_id}'
531 status_context: 'CORD Jenkins - cppcheck Verification'
532
533 concurrent: false
534
535 project-type: pipeline
536 dsl: !include-raw-escape: pipeline/{pipeline-file}
537
Zack Williams320b3142019-03-14 23:10:01 -0700538# tests
539- job-template:
540 id: 'omec-tc1'
541 name: 'omec_tc1'
542 project-type: pipeline
543
544 description: |
545 <!-- Managed by Jenkins Job Builder -->
546 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
547
548 properties:
549 - cord-infra-properties:
550 build-days-to-keep: '{build-days-to-keep}'
551 artifact-num-to-keep: '{artifact-num-to-keep}'
552
553 wrappers:
554 - lf-infra-wrappers:
555 build-timeout: '{build-timeout}'
556 jenkins-ssh-credential: '{jenkins-ssh-credential}'
557
558 parameters:
559 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700560 name: buildNode
561 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700562 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700563
You Wang83055442020-04-17 14:54:40 -0700564 - string:
565 name: mmeRepo
566 default: 'openmme'
567 description: 'Name of the MME repo to test (openmme/Nucleus)'
568
Zack Williams5d81f812019-02-27 14:37:09 -0700569 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700570
571 pipeline-scm:
572 script-path: 'Jenkinsfile-omec-test-TC1.groovy'
573 scm:
574 - git:
hwchiu14f97852019-10-08 10:51:11 -0700575 url: 'https://github.com/omec-project/omec-project-ci'
576 branches:
577 - 'master'
Zack Williams73c3cf42019-02-25 23:43:22 -0700578
579- job-template:
580 id: 'omec-tc2'
Zack Williams320b3142019-03-14 23:10:01 -0700581 name: 'omec_tc2'
Zack Williams73c3cf42019-02-25 23:43:22 -0700582 project-type: pipeline
583
584 description: |
585 <!-- Managed by Jenkins Job Builder -->
586 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
587
588 properties:
589 - cord-infra-properties:
590 build-days-to-keep: '{build-days-to-keep}'
591 artifact-num-to-keep: '{artifact-num-to-keep}'
Zack Williams73c3cf42019-02-25 23:43:22 -0700592
593 wrappers:
594 - lf-infra-wrappers:
595 build-timeout: '{build-timeout}'
596 jenkins-ssh-credential: '{jenkins-ssh-credential}'
597
598 parameters:
599 - string:
Zack Williamsb3292082019-10-11 17:15:18 -0700600 name: buildNode
601 default: '{build-node}'
hwchiu14f97852019-10-08 10:51:11 -0700602 description: 'Name of the Jenkins executor node to run the job on'
Zack Williams73c3cf42019-02-25 23:43:22 -0700603
You Wang83055442020-04-17 14:54:40 -0700604 - string:
605 name: mmeRepo
606 default: 'openmme'
607 description: 'Name of the MME repo to test (openmme/Nucleus)'
608
Zack Williams5d81f812019-02-27 14:37:09 -0700609 concurrent: false
Zack Williams73c3cf42019-02-25 23:43:22 -0700610
611 pipeline-scm:
612 script-path: 'Jenkinsfile-omec-test-TC2.groovy'
Kailashbe4dc092019-01-23 09:22:17 -0800613 scm:
614 - git:
hwchiu14f97852019-10-08 10:51:11 -0700615 url: 'https://github.com/omec-project/omec-project-ci'
616 branches:
617 - 'master'
Jeremy Ronquillo1b9581f2020-03-20 10:37:59 -0700618
You Wang5c15a7a2020-04-02 11:24:33 -0700619# Post-merge job
620# Triggered by Github pull request merge
621- job-template:
622 id: omec-postmerge
623 name: '{project}_postmerge'
624 description: |
625 Created by {id} job-template from ci-management/jjb/omec-ci.yaml
626
627 properties:
628 - cord-infra-properties:
629 build-days-to-keep: '{build-days-to-keep}'
630 artifact-num-to-keep: '{artifact-num-to-keep}'
631
632 triggers:
633 - cord-infra-github-pr-trigger-merge:
634 project: '{project}'
635
636 wrappers:
637 - lf-infra-wrappers:
638 build-timeout: '{build-timeout}'
639 jenkins-ssh-credential: '{jenkins-ssh-credential}'
640
641 parameters:
642 - string:
643 name: buildNode
644 default: '{build-node}'
645 description: 'Name of the Jenkins node to run the job on'
646
647 - string:
You Wang8be478b2020-11-17 14:41:16 -0800648 name: registryProxy
649 default: '{registry-proxy}'
650 description: 'Harbor proxy which caches dockerhub images'
You Wang40239452020-06-11 20:17:15 -0700651
652 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700653 name: repoName
654 default: ''
655 description: 'Name of the git repo. Populated by Generic Webhook Trigger'
656
657 - string:
658 name: repoUrl
659 default: ''
660 description: 'URL to the git repo. Populated by Generic Webhook Trigger'
661
662 - string:
663 name: branchName
664 default: ''
665 description: 'Branch of the project. Populated by Generic Webhook Trigger'
666
667 - string:
668 name: commitHash
669 default: ''
670 description: 'SHA string of the merged commit. Populated by Generic Webhook Trigger'
671
672 - string:
673 name: c3poBranchName
674 default: '{c3po-branch-name}'
675 description: 'Branch name of c3po repo which we run tests against'
676
677 - string:
You Wang425d49f2020-07-29 21:43:28 -0700678 name: spgwBranchName
679 default: '{spgw-branch-name}'
680 description: 'Branch name of spgw repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700681
682 - string:
You Wang40239452020-06-11 20:17:15 -0700683 name: nucleusBranchName
684 default: '{nucleus-branch-name}'
685 description: 'Branch name of Nucleus repo which we run tests against'
You Wang5c15a7a2020-04-02 11:24:33 -0700686
687 - string:
You Wange1cbba22020-06-15 21:16:14 -0700688 name: upfBranchName
689 default: '{upf-branch-name}'
690 description: 'Branch name of upf-epc repo which we run tests against'
691
692 - string:
You Wang5c15a7a2020-04-02 11:24:33 -0700693 name: maintainers
694 default: 'jeremyr@opennetworking.org, you@opennetworking.org'
695 description: "The person that sould be notified if this job fails"
696
697 project-type: pipeline
You Wang40239452020-06-11 20:17:15 -0700698 concurrent: false
You Wang5c15a7a2020-04-02 11:24:33 -0700699
700 dsl: !include-raw-escape: pipeline/{pipeline-file}
You Wang3cc17af2020-06-12 14:56:10 -0700701
702# OMEC CI job which builds docker images, deploys and tests OMEC
703- job-template:
704 id: 'omec-container'
705 name: 'omec_{project}_container'
706 project-type: pipeline
707
708 description: |
709 <!-- Managed by Jenkins Job Builder -->
710 Created by {id} job-template from ci-management/jjb/omec-ci.yaml<br />
711
712 properties:
713 - cord-infra-properties:
714 build-days-to-keep: '{build-days-to-keep}'
715 artifact-num-to-keep: '{artifact-num-to-keep}'
716 - github:
717 url: 'https://github.com/{github-organization}/{project}'
718 - build-blocker:
719 use-build-blocker: true
720 blocking-jobs:
You Wang1e8ad9c2020-07-29 17:32:04 -0700721 - ".*_container"
You Wang3cc17af2020-06-12 14:56:10 -0700722
723 wrappers:
724 - lf-infra-wrappers:
725 build-timeout: '{build-timeout}'
726 jenkins-ssh-credential: '{jenkins-ssh-credential}'
727
728 parameters:
729 - string:
730 name: buildNode
Jeremy Ronquillo083fc462020-10-14 20:44:39 +0000731 default: 'omec-ci'
You Wang3cc17af2020-06-12 14:56:10 -0700732 description: 'Name of the Jenkins executor node to run the job on'
733
734 - string:
735 name: project
736 default: '{project}'
737 description: 'Name of the project'
738
739 - string:
740 name: ghprbTargetBranch
741 default: '$ghprbTargetBranch'
742 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
743
744 - string:
745 name: ghprbPullId
746 default: '$ghprbPullId'
747 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
748
749 - string:
750 name: ghprbActualCommit
751 default: '$ghprbActualCommit'
752 description: 'GitHub Pull-Request builder value. Replace default value to test manually.'
753
754 - string:
755 name: registry
You Wang8be478b2020-11-17 14:41:16 -0800756 default: '{registry}'
You Wang3cc17af2020-06-12 14:56:10 -0700757 description: 'Docker registry that stores images built for CI testing'
758
759 - string:
You Wang8be478b2020-11-17 14:41:16 -0800760 name: registryProxy
761 default: '{registry-proxy}'
762 description: 'Harbor proxy which caches dockerhub images'
763
764 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700765 name: c3poBranch
766 default: 'master'
767 description: 'Branch name of c3po repo which we run tests against'
768
769 - string:
770 name: nucleusBranch
771 default: 'master'
772 description: 'Branch name of Nucleus repo which we run tests against'
773
774 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700775 name: spgwBranch
776 default: 'master'
777 description: 'Branch name of spgw repo which we run tests against'
You Wang3cc17af2020-06-12 14:56:10 -0700778
You Wange1cbba22020-06-15 21:16:14 -0700779 - string:
780 name: upfBranch
781 default: 'master'
782 description: 'Branch name of upf-epc repo which we run tests against'
783
You Wang3cc17af2020-06-12 14:56:10 -0700784 triggers:
785 - cord-infra-github-pr-trigger:
786 github_pr_org_list: '{obj:github_pr_org_list}'
787 github_pr_auth_id: '{github_pr_auth_id}'
788 status_context: 'CORD Jenkins - Container Based Verification'
789
790 concurrent: false
791
792 pipeline-scm:
793 script-path: 'Jenkinsfile-omec-container.groovy'
794 scm:
795 - git:
796 url: 'https://github.com/{github-organization}/omec-project-ci'
797 branches:
798 - 'master'
799
800# OMEC deployment job
801- job-template:
802 id: 'omec-deploy'
803 name: 'omec_deploy_{pod}'
804 project-type: pipeline
805
806 description: |
807 <!-- Managed by Jenkins Job Builder -->
808 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
809
810 properties:
811 - cord-infra-properties:
812 build-days-to-keep: '{build-days-to-keep}'
813 artifact-num-to-keep: '{artifact-num-to-keep}'
814
815 wrappers:
816 - lf-infra-wrappers:
817 build-timeout: '{build-timeout}'
818 jenkins-ssh-credential: '{jenkins-ssh-credential}'
819
820 parameters:
821 - string:
822 name: buildNode
823 default: '{build-node}'
824 description: 'Name of the Jenkins executor node to run the job on.'
825
826 - string:
827 name: cpContext
828 default: '{cp-context}'
829 description: 'K8S context for omec control plane.'
830
831 - string:
832 name: dpContext
833 default: '{dp-context}'
834 description: 'K8S context for omec data plane.'
835
836 - string:
837 name: centralConfig
838 default: '{central-config}'
839 description: 'Directory name for central yaml files under aether-pod-configs.'
840
841 - string:
842 name: edgeConfig
843 default: '{edge-config}'
844 description: 'Directory name for edge yaml files under aether-pod-configs.'
845
846 - string:
847 name: hssdbImage
You Wang8be478b2020-11-17 14:41:16 -0800848 default: '{registry-proxy}/c3po-hssdb:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700849 description: 'Docker image for hssdb. Leave empty to use default helm-charts value'
850
851 - string:
852 name: hssImage
You Wang8be478b2020-11-17 14:41:16 -0800853 default: '{registry-proxy}/c3po-hss:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700854 description: 'Docker image for hss. Leave empty to use default helm-charts value'
855
856 - string:
857 name: mmeImage
You Wang8be478b2020-11-17 14:41:16 -0800858 default: '{registry-proxy}/nucleus:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700859 description: 'Docker image for mme. Leave empty to use default helm-charts value'
860
861 - string:
862 name: spgwcImage
You Wang8be478b2020-11-17 14:41:16 -0800863 default: '{registry-proxy}/spgw:master-latest'
You Wang3cc17af2020-06-12 14:56:10 -0700864 description: 'Docker image for spgwc. Leave empty to use default helm-charts value'
865
866 - string:
You Wange1cbba22020-06-15 21:16:14 -0700867 name: bessImage
You Wang8be478b2020-11-17 14:41:16 -0800868 default: '{registry-proxy}/upf-epc-bess:master-latest'
You Wange1cbba22020-06-15 21:16:14 -0700869 description: 'Docker image for bess. Leave empty to use default helm-charts value'
870
871 - string:
You Wang1e8ad9c2020-07-29 17:32:04 -0700872 name: zmqifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800873 default: '{registry-proxy}/upf-epc-cpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700874 description: 'Docker image for zmqiface. Leave empty to use default helm-charts value'
875
876 - string:
877 name: pfcpifaceImage
You Wang8be478b2020-11-17 14:41:16 -0800878 default: '{registry-proxy}/upf-epc-pfcpiface:master-latest'
You Wang1e8ad9c2020-07-29 17:32:04 -0700879 description: 'Docker image for pfcpiface. Leave empty to use default helm-charts value'
You Wang3cc17af2020-06-12 14:56:10 -0700880
881 concurrent: false
882
883 pipeline-scm:
884 script-path: 'Jenkinsfile-omec-deploy.groovy'
885 scm:
886 - git:
887 url: 'https://github.com/{github-organization}/omec-project-ci'
888 branches:
889 - 'master'
890
891# OMEC test job
892- job-template:
893 id: 'omec-ng40-test'
894 name: 'omec_ng40-test_{pod}'
895 project-type: pipeline
896
897 description: |
898 <!-- Managed by Jenkins Job Builder -->
899 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
900
901 properties:
902 - cord-infra-properties:
903 build-days-to-keep: '{build-days-to-keep}'
904 artifact-num-to-keep: '{artifact-num-to-keep}'
905
906 wrappers:
907 - lf-infra-wrappers:
908 build-timeout: '{build-timeout}'
909 jenkins-ssh-credential: '{jenkins-ssh-credential}'
910
911 parameters:
912 - string:
913 name: buildNode
914 default: '{build-node}'
915 description: 'Name of the Jenkins executor node to run the job on.'
916
917 - string:
You Wang5647a3a2020-07-15 10:54:25 -0700918 name: timeout
919 default: '30'
920 description: 'Timeout period for this pipeline in minutes.'
921
922 - string:
You Wang3cc17af2020-06-12 14:56:10 -0700923 name: ng40VM
924 default: '{ng40-vm}'
925 description: 'user@IP for accessing NG40 VM from the build node.'
926
927 - string:
928 name: ntlFile
You Wang146d2432020-11-06 15:02:52 -0800929 default: 'ci.ntl'
You Wang3cc17af2020-06-12 14:56:10 -0700930 description: 'NG40 test automation file'
931
You Wangadd58172020-06-23 20:09:28 -0700932 - string:
933 name: cpContext
934 default: '{cp-context}'
935 description: 'K8S context for omec control plane.'
936
937 - string:
938 name: dpContext
939 default: '{dp-context}'
940 description: 'K8S context for omec data plane.'
941
You Wang3cc17af2020-06-12 14:56:10 -0700942 concurrent: false
943
944 pipeline-scm:
945 script-path: 'Jenkinsfile-omec-ng40-test.groovy'
946 scm:
947 - git:
948 url: 'https://github.com/{github-organization}/omec-project-ci'
949 branches:
950 - 'master'
You Wangc8955b12020-06-19 14:22:12 -0700951
952# OMEC archive artifacts job
953- job-template:
954 id: 'omec-archive-artifacts'
955 name: 'omec_archive-artifacts_{pod}'
956 project-type: pipeline
957
958 description: |
959 <!-- Managed by Jenkins Job Builder -->
960 Created from job-template {id} from ci-management/jjb/omec-ci.yaml <br />
961
962 properties:
963 - cord-infra-properties:
964 build-days-to-keep: '{build-days-to-keep}'
You Wang363dd8b2020-11-09 13:46:08 -0800965 artifact-num-to-keep: 2
You Wangc8955b12020-06-19 14:22:12 -0700966
967 wrappers:
968 - lf-infra-wrappers:
969 build-timeout: '{build-timeout}'
970 jenkins-ssh-credential: '{jenkins-ssh-credential}'
971
972 parameters:
973 - string:
974 name: buildNode
975 default: '{build-node}'
976 description: 'Name of the Jenkins executor node to run the job on.'
977
978 - string:
979 name: cpContext
980 default: '{cp-context}'
981 description: 'K8S context for omec control plane.'
982
983 - string:
984 name: dpContext
985 default: '{dp-context}'
986 description: 'K8S context for omec data plane.'
987
You Wangc1f71962020-10-06 16:26:34 -0700988 - string:
989 name: logSince
990 default: '{log-since}'
You Wang24815202020-12-08 16:22:35 -0800991 description: 'Only upload logs newer than a relative duration e.g. 1h. Leave empty if logSinceTime is specified'
992
993 - string:
994 name: logSinceTime
995 default: ''
996 description: 'Only upload logs newer than a date (RFC3339). Leave empty if logSince is specified'
You Wangc1f71962020-10-06 16:26:34 -0700997
You Wangc8955b12020-06-19 14:22:12 -0700998 concurrent: false
999
1000 pipeline-scm:
1001 script-path: 'Jenkinsfile-omec-archive-artifacts.groovy'
1002 scm:
1003 - git:
1004 url: 'https://github.com/{github-organization}/omec-project-ci'
1005 branches:
1006 - 'master'