Fix cloud infra jobs 98/1798/3
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 30 Jul 2019 10:24:36 +0000 (12:24 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 30 Jul 2019 10:28:44 +0000 (12:28 +0200)
Change-Id: I96ac11cc26c7d0a2f35ba1994bfbdcddb6b93465

jjb/cloud-infra/cloud-infra-periodic-onap.yaml

index 22387dfdc86975b3538a7dfc645acef961320817..133d44c61981efd2fcfc55563fa922328eda6c17 100644 (file)
     phase:
       - onap-deploy:
           build-timeout: 150
-          flavor:
-            - full
       - oom-healthcheck:
           build-timeout: 30
           test-type: oom-healthcheck
-          flavor:
-            - full
       - onap-healthcheck:
           build-timeout: 30
           test-type: onap-healthcheck
-          flavor:
-            - core
-            - small
-            - medium
-            - full
       - promote-onap:
           build-timeout: 5
-          flavor:
-            - full
 
     jobs:
       - '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
-      - 'xtesting-{phase}-{flavor}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+      - 'xtesting-{phase}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
 
 - job-template:
     name: '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               abort-all-job: true
       - multijob:
           name: OOM Healthcheck
-          condition: SUCCESSFUL
+          condition: ALWAYS
           projects:
             - name: 'xtesting-oom-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               kill-phase-on: NEVER
               abort-all-job: false
       - multijob:
-          name: ONAP Healthcheck - Core
-          condition: SUCCESSFUL
+          name: ONAP Healthcheck
+          condition: ALWAYS
           projects:
-            - name: 'xtesting-onap-healthcheck-core-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+            - name: 'xtesting-onap-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               predefined-parameters: |
                 DISTRO=$DISTRO
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-          name: ONAP Healthcheck - Small
-          condition: SUCCESSFUL
-          projects:
-            - name: 'xtesting-onap-healthcheck-small-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+            - name: 'xtesting-onap-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               predefined-parameters: |
                 DISTRO=$DISTRO
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-          name: ONAP Healthcheck - Medium
-          condition: SUCCESSFUL
-          projects:
-            - name: 'xtesting-onap-healthcheck-medium-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+            - name: 'xtesting-onap-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               predefined-parameters: |
                 DISTRO=$DISTRO
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-          name: ONAP Healthcheck - Full
-          condition: SUCCESSFUL
-          projects:
-            - name: 'onap-healthcheck-periodic-full-{distro}-{installer-type}-{type}-{onap-branch}'
+            - name: 'onap-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               predefined-parameters: |
                 DISTRO=$DISTRO
               abort-all-job: false
       - multijob:
           name: Promote ONAP
-          condition: SUCCESSFUL
+          condition: ALWAYS
           projects:
             - name: 'promote-onap-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
               current-parameters: false
               abort-all-job: false
 
 - job-template:
-    name: 'xtesting-{phase}-{flavor}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
+    name: 'xtesting-{phase}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
 
     disabled: false
 
           description: 'ONAP version to deploy'
       - string:
           name: ONAP_FLAVOR
-          default: '{flavor}'
+          default: '{onap-flavor}'
           description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
       - string:
           name: TEST_TYPE
 
     builders:
       - description-setter:
-          description: $INSTALLER_TYPE - $DEPLOY_SCENARIO
+          description: $TEST_TYPE $ONAP_FLAVOR
       - '{phase}-macro'
 
 # vim: set ts=2 sw=2 expandtab: