onap: Fix slave label for periodic jobs
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-onap.yaml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20
21 #--------------------------------------------------------------------------------------
22 # The jobs declared in this JJB configuration file are used for deploying and testing
23 # ONAP scenario onap-nofeature-noha.
24 #--------------------------------------------------------------------------------------
25
26 - project:
27     name: 'cloud-infra-periodic-onap'
28
29     project: 'infra/engine'
30
31     cloud:
32       - city:
33           slave-label: 'city-jumphost-onap-ubuntu1804'
34           openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
35           daily-trigger: '@midnight'
36       - xerces:
37           slave-label: 'xerces-jumphost-onap-ubuntu1804'
38           openrc-credentials-file: 'est-estinfra-openrcfile-xerces-lund-onap'
39           daily-trigger: '#@midnight'
40
41     onap-branch:
42       - 'dublin':
43           nordix-branch: master
44           onap-version: dublin
45           onap-flavor: full
46           engine-version: master
47           engine-refspec: master
48           deploy-scenario: 'onap-nofeature-noha'
49           deploy-scenario-version: master
50           deploy-scenario-refspec: master
51           disabled: false
52           delete-stack: 'yes'
53       - 'master':
54           nordix-branch: master
55           onap-version: master
56           onap-flavor: full
57           engine-version: master
58           engine-refspec: master
59           deploy-scenario: 'onap-nofeature-noha'
60           deploy-scenario-version: master
61           deploy-scenario-refspec: master
62           disabled: false
63           delete-stack: 'no'
64
65     distro:
66       - ubuntu1804
67
68     ci-loop:
69       - daily
70
71     type:
72       - cloud:
73           pod-name: est-cloud
74           provisioner-type: heat
75           installer-type: kubespray
76
77     onap-other-phases:
78       - onap-deploy:
79           build-timeout: 210
80       - oom-hc:
81           build-timeout: 30
82           test-type: oom-healthcheck
83       - promote-onap:
84           build-timeout: 5
85
86     onap-healthcheck-phases:
87       - onap-hc-core:
88           build-timeout: 30
89           test-type: onap-healthcheck
90       - onap-hc-small:
91           build-timeout: 30
92           test-type: onap-healthcheck
93       - onap-hc-medium:
94           build-timeout: 30
95           test-type: onap-healthcheck
96       - onap-hc-full:
97           build-timeout: 30
98           test-type: onap-healthcheck
99       - onap-hc-healthdist:
100           build-timeout: 30
101           test-type: onap-healthcheck
102
103     jobs:
104       - 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
105       - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
106       - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
107
108 - job-template:
109     name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}'
110
111     project-type: multijob
112
113     disabled: '{obj:disabled}'
114
115     concurrent: true
116
117     parameters:
118       - project-parameters:
119           project: '{project}'
120           branch: '{nordix-branch}'
121       - nordix-gerrit-parameters
122       - onap-parameter-macro
123       - label:
124           name: SLAVE_LABEL
125           default: '{slave-label}'
126           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
127       - string:
128           name: DISTRO
129           default: '{distro}'
130           description: 'Distribution to use for configuring target nodes (networking etc.)'
131       - string:
132           name: ONAP_VERSION
133           default: '{onap-version}'
134           description: 'ONAP version to deploy'
135       - string:
136           name: ONAP_FLAVOR
137           default: '{onap-flavor}'
138           description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
139       - string:
140           name: STACK_NAME
141           default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}'
142       - string:
143           name: HEAT_ENVIRONMENT_FILE
144           default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/heat-environment-{cloud}-{distro}-full.yaml"
145           description: 'Type of the deployment'
146       - string:
147           name: ENGINE_VERSION
148           default: '{engine-version}'
149           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
150       - string:
151           name: ENGINE_REFSPEC
152           default: '{engine-refspec}'
153           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
154       - string:
155           name: DEPLOY_SCENARIO_VERSION
156           default: '{deploy-scenario-version}'
157           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
158       - string:
159           name: DEPLOY_SCENARIO_REFSPEC
160           default: '{deploy-scenario-refspec}'
161           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
162       - string:
163           name: POD_NAME
164           default: '{pod-name}'
165           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
166       - string:
167           name: DELETE_STACK
168           default: '{delete-stack}'
169           description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
170
171     properties:
172       - logrotate
173       - build-blocker:
174           use-build-blocker: true
175           blocking-jobs:
176             - 'cloud-infra-periodic-engine-.*'
177             - 'onap-.*'
178             - 'k8-.*'
179           block-level: 'NODE'
180       - throttle:
181           max-per-node: 1
182           max-total: 3
183           option: project
184
185     wrappers:
186       - credentials-binding:
187           - file:
188               credential-id: '{openrc-credentials-file}'
189               variable: OPENRC_FILE
190       - mask-passwords
191       - build-timeout:
192           timeout: 300
193       - fix-workspace-permissions
194       - openstack:
195           single-use: True
196
197     triggers:
198       - timed: '{daily-trigger}'
199
200     scm:
201       - git-scm:
202           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
203           branch: '{nordix-branch}'
204           refspec: ''
205           wipe_workspace: true
206           clean_before: false
207
208     builders:
209       - description-setter:
210           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
211       - shell: |
212           #!/bin/bash
213           cp $OPENRC_FILE /tmp/openrc
214       - multijob:
215           name: Deploy ONAP using OOM
216           condition: ALWAYS
217           projects:
218             - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
219               current-parameters: false
220               predefined-parameters: |
221                 DISTRO=$DISTRO
222                 DEPLOY_TYPE=$DEPLOY_TYPE
223                 PROVISIONER_TYPE=$PROVISIONER_TYPE
224                 INSTALLER_TYPE=$INSTALLER_TYPE
225                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
226                 ONAP_VERSION=$ONAP_VERSION
227                 ONAP_FLAVOR=$ONAP_FLAVOR
228                 POD_NAME=$POD_NAME
229                 STACK_NAME=$STACK_NAME
230                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
231                 ENGINE_VERSION=$ENGINE_VERSION
232                 ENGINE_REFSPEC=$ENGINE_REFSPEC
233                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
234                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
235                 XTESTING_REPO_URL=$XTESTING_REPO_URL
236                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
237                 CLEANUP=$CLEANUP
238               git-revision: true
239               node-parameters: true
240               kill-phase-on: NEVER
241               abort-all-job: false
242       - multijob:
243           name: K8S and OOM Healthcheck using xtesting
244           condition: ALWAYS
245           projects:
246             - name: 'oom-hc-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
247               current-parameters: false
248               predefined-parameters: |
249                 DISTRO=$DISTRO
250                 DEPLOY_TYPE=$DEPLOY_TYPE
251                 PROVISIONER_TYPE=$PROVISIONER_TYPE
252                 INSTALLER_TYPE=$INSTALLER_TYPE
253                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
254                 ONAP_VERSION=$ONAP_VERSION
255                 ONAP_FLAVOR=full
256                 TEST_TYPE=oom-healthcheck
257                 POD_NAME=$POD_NAME
258                 STACK_NAME=$STACK_NAME
259                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
260                 ENGINE_VERSION=$ENGINE_VERSION
261                 ENGINE_REFSPEC=$ENGINE_REFSPEC
262                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
263                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
264                 XTESTING_REPO_URL=$XTESTING_REPO_URL
265                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
266                 CLEANUP=$CLEANUP
267               node-parameters: true
268               kill-phase-on: NEVER
269               abort-all-job: false
270       - multijob:
271           name: ONAP Healthcheck using xtesting
272           execution-type: SEQUENTIALLY
273           condition: ALWAYS
274           projects:
275             - name: 'onap-hc-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
276               current-parameters: false
277               predefined-parameters: |
278                 SLAVE_LABEL=$SLAVE_LABEL
279                 DISTRO=$DISTRO
280                 PROVISIONER_TYPE=$PROVISIONER_TYPE
281                 INSTALLER_TYPE=$INSTALLER_TYPE
282                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
283                 DEPLOY_TYPE=$DEPLOY_TYPE
284                 ONAP_VERSION=$ONAP_VERSION
285                 ONAP_FLAVOR=core
286                 TEST_TYPE=onap-healthcheck
287                 POD_NAME=$POD_NAME
288                 STACK_NAME=$STACK_NAME
289                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
290                 ENGINE_VERSION=$ENGINE_VERSION
291                 ENGINE_REFSPEC=$ENGINE_REFSPEC
292                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
293                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
294                 XTESTING_REPO_URL=$XTESTING_REPO_URL
295                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
296                 CLEANUP=$CLEANUP
297               node-parameters: true
298               kill-phase-on: NEVER
299               abort-all-job: false
300             - name: 'onap-hc-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
301               current-parameters: false
302               predefined-parameters: |
303                 SLAVE_LABEL=$SLAVE_LABEL
304                 DISTRO=$DISTRO
305                 PROVISIONER_TYPE=$PROVISIONER_TYPE
306                 INSTALLER_TYPE=$INSTALLER_TYPE
307                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
308                 DEPLOY_TYPE=$DEPLOY_TYPE
309                 ONAP_VERSION=$ONAP_VERSION
310                 ONAP_FLAVOR=small
311                 TEST_TYPE=onap-healthcheck
312                 POD_NAME=$POD_NAME
313                 STACK_NAME=$STACK_NAME
314                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
315                 ENGINE_VERSION=$ENGINE_VERSION
316                 ENGINE_REFSPEC=$ENGINE_REFSPEC
317                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
318                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
319                 XTESTING_REPO_URL=$XTESTING_REPO_URL
320                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
321                 CLEANUP=$CLEANUP
322               node-parameters: true
323               kill-phase-on: NEVER
324               abort-all-job: false
325             - name: 'onap-hc-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
326               current-parameters: false
327               predefined-parameters: |
328                 SLAVE_LABEL=$SLAVE_LABEL
329                 DISTRO=$DISTRO
330                 PROVISIONER_TYPE=$PROVISIONER_TYPE
331                 INSTALLER_TYPE=$INSTALLER_TYPE
332                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
333                 DEPLOY_TYPE=$DEPLOY_TYPE
334                 ONAP_VERSION=$ONAP_VERSION
335                 ONAP_FLAVOR=medium
336                 TEST_TYPE=onap-healthcheck
337                 POD_NAME=$POD_NAME
338                 STACK_NAME=$STACK_NAME
339                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
340                 ENGINE_VERSION=$ENGINE_VERSION
341                 ENGINE_REFSPEC=$ENGINE_REFSPEC
342                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
343                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
344                 XTESTING_REPO_URL=$XTESTING_REPO_URL
345                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
346                 CLEANUP=$CLEANUP
347               node-parameters: true
348               kill-phase-on: NEVER
349               abort-all-job: false
350             - name: 'onap-hc-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
351               current-parameters: false
352               predefined-parameters: |
353                 SLAVE_LABEL=$SLAVE_LABEL
354                 DISTRO=$DISTRO
355                 PROVISIONER_TYPE=$PROVISIONER_TYPE
356                 INSTALLER_TYPE=$INSTALLER_TYPE
357                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
358                 DEPLOY_TYPE=$DEPLOY_TYPE
359                 ONAP_VERSION=$ONAP_VERSION
360                 ONAP_FLAVOR=full
361                 TEST_TYPE=onap-healthcheck
362                 POD_NAME=$POD_NAME
363                 STACK_NAME=$STACK_NAME
364                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
365                 ENGINE_VERSION=$ENGINE_VERSION
366                 ENGINE_REFSPEC=$ENGINE_REFSPEC
367                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
368                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
369                 XTESTING_REPO_URL=$XTESTING_REPO_URL
370                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
371                 CLEANUP=$CLEANUP
372               node-parameters: true
373               kill-phase-on: NEVER
374               abort-all-job: false
375             - name: 'onap-hc-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
376               current-parameters: false
377               predefined-parameters: |
378                 SLAVE_LABEL=$SLAVE_LABEL
379                 DISTRO=$DISTRO
380                 PROVISIONER_TYPE=$PROVISIONER_TYPE
381                 INSTALLER_TYPE=$INSTALLER_TYPE
382                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
383                 DEPLOY_TYPE=$DEPLOY_TYPE
384                 ONAP_VERSION=$ONAP_VERSION
385                 ONAP_FLAVOR=healthdist
386                 TEST_TYPE=onap-healthcheck
387                 POD_NAME=$POD_NAME
388                 STACK_NAME=$STACK_NAME
389                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
390                 ENGINE_VERSION=$ENGINE_VERSION
391                 ENGINE_REFSPEC=$ENGINE_REFSPEC
392                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
393                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
394                 XTESTING_REPO_URL=$XTESTING_REPO_URL
395                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
396                 CLEANUP=$CLEANUP
397               node-parameters: true
398               kill-phase-on: NEVER
399               abort-all-job: false
400       - multijob:
401           name: Promote ONAP (not activated)
402           condition: ALWAYS
403           projects:
404             - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
405               current-parameters: false
406               predefined-parameters: |
407                 SLAVE_LABEL=$SLAVE_LABEL
408                 DISTRO=$DISTRO
409                 DEPLOY_TYPE=$DEPLOY_TYPE
410                 INSTALLER_TYPE=$INSTALLER_TYPE
411                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
412                 ONAP_VERSION=$ONAP_VERSION
413                 ONAP_FLAVOR=$ONAP_FLAVOR
414                 ENGINE_VERSION=$ENGINE_VERSION
415                 ENGINE_REFSPEC=$ENGINE_REFSPEC
416                 POD_NAME=$POD_NAME
417                 STACK_NAME=$STACK_NAME
418                 HEAT_ENVIRONMENT_FILE=$HEAT_ENVIRONMENT_FILE
419                 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
420                 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
421                 XTESTING_REPO_URL=$XTESTING_REPO_URL
422                 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
423                 CLEANUP=$CLEANUP
424               node-parameters: true
425               kill-phase-on: NEVER
426               abort-all-job: false
427
428     publishers:
429       - postbuildscript:
430           builders:
431             - role: SLAVE
432               build-on:
433                 - SUCCESS
434                 - FAILURE
435                 - ABORTED
436                 - NOT_BUILT
437                 - UNSTABLE
438               build-steps:
439                 - shell:
440                     !include-raw-escape: ./wait-for-pkg-manager.sh
441                 - shell:
442                     !include-raw: ./delete-heat-stack.sh
443
444 - job-template:
445     name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
446
447     disabled: false
448
449     concurrent: true
450
451     properties:
452       - logrotate
453
454     parameters:
455       - project-parameters:
456           project: '{project}'
457           branch: '{nordix-branch}'
458       - nordix-gerrit-parameters
459       - onap-parameter-macro
460       - label:
461           name: SLAVE_LABEL
462           default: 'xerces-jumphost-onap-ubuntu1804'
463           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
464       - string:
465           name: DISTRO
466           default: 'ubuntu1804'
467           description: 'Distribution to use for configuring target nodes (networking etc.)'
468       - string:
469           name: ONAP_FLAVOR
470           default: '{onap-flavor}'
471           description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
472       - string:
473           name: ONAP_VERSION
474           default: '{onap-version}'
475           description: 'ONAP version to deploy'
476       - string:
477           name: HEAT_ENVIRONMENT_FILE
478           default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/heat-environment-full.yaml"
479           description: 'Type of the deployment'
480
481     wrappers:
482       - credentials-binding:
483           - file:
484               credential-id: est-jenkins-openrcfile-city-karlskrona-onap
485               variable: OPENRC_FILE
486       - mask-passwords
487       - build-timeout:
488           timeout: '{build-timeout}'
489       - fix-workspace-permissions
490
491     scm:
492       - git-scm:
493           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
494           branch: '{nordix-branch}'
495           refspec: ''
496           wipe_workspace: true
497           clean_before: false
498
499     builders:
500       - description-setter:
501           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
502       - '{onap-other-phases}-macro'
503
504 - job-template:
505     name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
506
507     disabled: false
508
509     concurrent: true
510
511     properties:
512       - logrotate
513
514     parameters:
515       - project-parameters:
516           project: '{project}'
517           branch: '{nordix-branch}'
518       - nordix-gerrit-parameters
519       - onap-parameter-macro
520       - label:
521           name: SLAVE_LABEL
522           default: 'xerces-jumphost-onap-ubuntu1804'
523           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
524       - string:
525           name: DISTRO
526           default: 'ubuntu1804'
527           description: 'Distribution to use for configuring target nodes (networking etc.)'
528       - string:
529           name: ONAP_VERSION
530           default: '{onap-version}'
531           description: 'ONAP version to deploy'
532       - string:
533           name: HEAT_ENVIRONMENT_FILE
534           default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/heat-environment-full.yaml"
535           description: 'Type of the deployment'
536       - string:
537           name: ENGINE_VERSION
538           default: '{engine-version}'
539           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
540       - string:
541           name: ENGINE_REFSPEC
542           default: '{engine-refspec}'
543           description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
544       - string:
545           name: DEPLOY_SCENARIO_VERSION
546           default: '{deploy-scenario-version}'
547           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
548       - string:
549           name: DEPLOY_SCENARIO_REFSPEC
550           default: '{deploy-scenario-refspec}'
551           description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
552       - string:
553           name: POD_NAME
554           default: '{pod-name}'
555           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
556
557     wrappers:
558       - credentials-binding:
559           - file:
560               credential-id: est-jenkins-openrcfile-city-karlskrona-onap
561               variable: OPENRC_FILE
562       - mask-passwords
563       - build-timeout:
564           timeout: '{build-timeout}'
565       - fix-workspace-permissions
566
567     scm:
568       - git-scm:
569           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
570           branch: '{nordix-branch}'
571           refspec: ''
572           wipe_workspace: true
573           clean_before: false
574
575     builders:
576       - description-setter:
577           description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
578       - 'onap-healthcheck-macro'
579
580 # vim: set ts=2 sw=2 expandtab: