Move ONAP pipelines to EST Tenant and enable keeping the stack
This change moves ONAP pipelines to City EST Tenant.
Apart from that, it introduces a new parameter, DELETE_STACK, so
the users of Jenkins can opt to keep the stack upon completion of
the job for troubleshooting purposes. Default is to delete the
stack.
No matter what, the stack will be deleted and recreated when the
same job gets triggered manually or on timer so the users need
to finish their jobs on the stack on time or they will be deleted.
Change-Id: I483c2b2723fae9a606342a38749f820dd9c7518d
diff --git a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
index bdb63df..488dc81 100644
--- a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
+++ b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
@@ -138,6 +138,13 @@
name: POD_NAME
default: '{pod-name}'
description: 'Development purposes only! Set to none for disabling test results DB reporting.'
+ - choice:
+ name: DELETE_STACK
+ choices:
+ - 'yes'
+ - 'no'
+ default: 'yes'
+ description: 'Development purposes only! Whether delete the stack or not. Default is yes. Setting this to no will increase the cost!'
properties:
- logrotate
@@ -156,7 +163,7 @@
wrappers:
- credentials-binding:
- file:
- credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
+ credential-id: est-jenkins-openrcfile-city-karlskrona-onap
variable: OPENRC_FILE
- mask-passwords
- build-timeout:
@@ -403,7 +410,7 @@
wrappers:
- credentials-binding:
- file:
- credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
+ credential-id: est-jenkins-openrcfile-city-karlskrona-onap
variable: OPENRC_FILE
- mask-passwords
- build-timeout:
@@ -467,7 +474,7 @@
wrappers:
- credentials-binding:
- file:
- credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
+ credential-id: est-jenkins-openrcfile-city-karlskrona-onap
variable: OPENRC_FILE
- mask-passwords
- build-timeout: