iec: exclude seba_on_arm from virtual PODs
[ci-management.git] / jjb / akraino-templates / akraino-iec-templates.yaml
index 0f62307..9fba10c 100644 (file)
               CLUSTER_SSH_PASSWORD=$K8S_SSH_PASSWORD
               CLUSTER_SSH_KEY=$K8S_SSH_KEY
               BLUEPRINT={project-name}
-              LAYER=k8s
               VERSION=master
               OPTIONAL=false
             block: true
           - project:
               !j2: |
+                {%- if deploy_type not in ['virtual'] -%}
                 {%- for uc in usecase -%}
-                iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+                iec-{{ iecType }}-install-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
                 {%- if not loop.last -%},{%- endif -%}
                 {%- endfor %}
+                {%- endif -%}
             current-parameters: true
             same-node: true
             block: true
       - git:
           credentials-id: '{jenkins-ssh-credential}'
           url: '{git-url}/{project}.git'
-          refspec: ''
-          branches:
-            - 'refs/heads/{branch}'
+          refspec: '$GERRIT_REFSPEC'
+          branches: '$GERRIT_BRANCH'
           skip-tag: true
           wipe-workspace: true
           submodule: