Add healthdist testcase
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-onap.yaml
index dd5003023ad4c1b261e677fbb3e158ddd0802b1b..3afc137e61a456e58a9a400b57c90359baf9b46b 100644 (file)
@@ -38,7 +38,7 @@
           deploy-scenario-version: master
           deploy-scenario-refspec: master
           disabled: false
-          delete-stack: yes
+          delete-stack: 'yes'
       - 'master':
           nordix-branch: master
           onap-version: master
@@ -48,7 +48,7 @@
           deploy-scenario-version: master
           deploy-scenario-refspec: master
           disabled: false
-          delete-stack: no
+          delete-stack: 'no'
 
     distro:
       - ubuntu1804
@@ -88,6 +88,9 @@
       - onap-healthcheck-full:
           build-timeout: 30
           test-type: onap-healthcheck
+      - onap-healthcheck-healthdist:
+          build-timeout: 30
+          test-type: onap-healthcheck
 
     jobs:
       - '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
           name: POD_NAME
           default: '{pod-name}'
           description: 'Development purposes only! Set to none for disabling test results DB reporting.'
-      - choice:
+      - string:
           name: DELETE_STACK
-          choices:
-            - 'yes'
-            - 'no'
           default: '{delete-stack}'
-          description: 'Development purposes only! Whether delete the stack or not. Default is yes. Setting this to no will increase the cost!'
+          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!'
 
     properties:
       - logrotate
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
+            - name: 'onap-healthcheck-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
+              current-parameters: false
+              predefined-parameters: |
+                SLAVE_LABEL=$SLAVE_LABEL
+                DISTRO=$DISTRO
+                PROVISIONER_TYPE=$PROVISIONER_TYPE
+                INSTALLER_TYPE=$INSTALLER_TYPE
+                DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+                DEPLOY_TYPE=$DEPLOY_TYPE
+                ONAP_VERSION=$ONAP_VERSION
+                ONAP_FLAVOR=healthdist
+                TEST_TYPE=onap-healthcheck
+                POD_NAME=$POD_NAME
+                STACK_NAME=$STACK_NAME
+                ENGINE_VERSION=$ENGINE_VERSION
+                ENGINE_REFSPEC=$ENGINE_REFSPEC
+                DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
+                DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
+                XTESTING_REPO_URL=$XTESTING_REPO_URL
+                ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
+                CLEANUP=$CLEANUP
+              node-parameters: true
+              kill-phase-on: NEVER
+              abort-all-job: false
       - multijob:
           name: Promote ONAP (not activated)
           condition: ALWAYS