X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=blobdiff_plain;f=jjb%2Fakraino-templates%2Fakraino-iec-templates.yaml;h=86905143e90784ebffa7993780ef5f96a50a79e4;hp=9fba10c5b60c6338d8b45730e01c7bd6371e2566;hb=15ca162dfa0f9acbb14c296f1cc74ca6c4f980ba;hpb=1bfba2fef48010181996e37cb87544e2379bff20 diff --git a/jjb/akraino-templates/akraino-iec-templates.yaml b/jjb/akraino-templates/akraino-iec-templates.yaml index 9fba10c..8690514 100644 --- a/jjb/akraino-templates/akraino-iec-templates.yaml +++ b/jjb/akraino-templates/akraino-iec-templates.yaml @@ -63,7 +63,10 @@ !j2: | {%- if deploy_type not in ['virtual'] -%} {%- for uc in usecase -%} - iec-{{ iecType }}-install-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }} + {%- for ph in phase -%} + iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }} + {%- if not loop.last -%},{%- endif -%} + {%- endfor %} {%- if not loop.last -%},{%- endif -%} {%- endfor %} {%- endif -%} @@ -123,17 +126,14 @@ name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO $IEC_TYPE' scm: &scm - - git: - credentials-id: '{jenkins-ssh-credential}' - url: '{git-url}/{project}.git' + - lf-infra-gerrit-scm: + jenkins-ssh-credential: '{jenkins-ssh-credential}' + git-url: '{git-url}/{project}.git' refspec: '$GERRIT_REFSPEC' - branches: '$GERRIT_BRANCH' - skip-tag: true - wipe-workspace: true - submodule: - disable: true - recursive: false - timeout: '{submodule-timeout}' + branch: '$GERRIT_BRANCH' + submodule-recursive: false + submodule-timeout: '{submodule-timeout}' + submodule-disable: true choosing-strategy: default builders: @@ -198,8 +198,8 @@ publishers: *publishers - job-template: - id: akraino-iec-install-usecase - name: 'iec-{iecType}-install-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}' + id: akraino-iec-phase-usecase + name: 'iec-{iecType}-{phase}-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}' concurrent: true node: '{slave-label}' properties: *properties @@ -211,6 +211,7 @@ branch: '{branch}' - '{project}-defaults' - '{installer}-{os}-defaults' + - '{usecase}-defaults' wrappers: - build-name: @@ -223,4 +224,3 @@ !include-raw-escape: ../iec/iec-{usecase}.sh publishers: *publishers -