From: Eric Ball Date: Mon, 4 May 2020 22:21:46 +0000 (+0000) Subject: Merge "iec: Add robot parsing for SEBA tests" X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=c99dd54898d212b4a85cf5a7fde98989eeb2c01b;hp=b62a9da6ffac751e64543400f4d40c48c680e98b Merge "iec: Add robot parsing for SEBA tests" --- diff --git a/jjb/akraino-templates/akraino-iec-macros.yaml b/jjb/akraino-templates/akraino-iec-macros.yaml index 4bd825a..4db8f3a 100644 --- a/jjb/akraino-templates/akraino-iec-macros.yaml +++ b/jjb/akraino-templates/akraino-iec-macros.yaml @@ -87,6 +87,31 @@ name: PON_TYPE default: 'ponsim' +######################## +# publisher macros +######################## +- publisher: + name: 'iec-default-publisher' + publishers: + - email: + recipients: armband@enea.com + - lf-infra-publish + +- publisher: + name: 'iec-install-usecase-publisher' + publishers: + - iec-default-publisher + +- publisher: + name: 'iec-test-usecase-publisher' + publishers: + - iec-default-publisher + - robot: + output-path: 'results' + report-html: '**/report.html' + log-html: '**/log.html' + output-xml: '**/output.xml' + ######################## # trigger macros ######################## diff --git a/jjb/akraino-templates/akraino-iec-templates.yaml b/jjb/akraino-templates/akraino-iec-templates.yaml index 640923f..ec2d46e 100644 --- a/jjb/akraino-templates/akraino-iec-templates.yaml +++ b/jjb/akraino-templates/akraino-iec-templates.yaml @@ -79,7 +79,11 @@ build-step-failure-threshold: 'never' failure-threshold: 'never' unstable-threshold: 'FAILURE' - - project: 'iec-{iecType}-destroy-{installer}-{deploy_type}-{os}-daily-{stream}' + - project: + !j2: | + {%- if deploy_type in ['virtual'] -%} + iec-{{ iecType }}-destroy-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }} + {%- endif -%} current-parameters: false predefined-parameters: | DEPLOY_SCENARIO={scenario} @@ -160,10 +164,8 @@ - shell: !include-raw-escape: ../iec/iec-fuel-deploy.sh - publishers: &publishers - - email: - recipients: armband@enea.com - - lf-infra-publish + publishers: + - iec-default-publisher - job-template: id: akraino-iec-destroy @@ -197,7 +199,8 @@ - shell: !include-raw-escape: ../iec/iec-{installer}-destroy.sh - publishers: *publishers + publishers: + - iec-default-publisher - job-template: id: akraino-iec-phase-usecase @@ -225,4 +228,5 @@ - shell: !include-raw-escape: ../iec/iec-{usecase}.sh - publishers: *publishers + publishers: + - 'iec-{phase}-usecase-publisher'