X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fakraino-templates%2Fakraino-iec-templates.yaml;h=9fba10c5b60c6338d8b45730e01c7bd6371e2566;hb=1bfba2fef48010181996e37cb87544e2379bff20;hp=15664d40f26ac61f41d141f9ff60058a4ad56470;hpb=c59181f887b55ad0fba9bbb934687ca3a1ba58dc;p=ci-management.git diff --git a/jjb/akraino-templates/akraino-iec-templates.yaml b/jjb/akraino-templates/akraino-iec-templates.yaml index 15664d4..9fba10c 100644 --- a/jjb/akraino-templates/akraino-iec-templates.yaml +++ b/jjb/akraino-templates/akraino-iec-templates.yaml @@ -61,10 +61,12 @@ 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 @@ -124,9 +126,8 @@ - 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: