Leverage the Jenkins Robot publisher for parsing the SEBA-in-a-box
test results.
While at it, disable the IEC destroy phase for baremetal deployments,
since aarch64 baremetal PODs are not shared by multiple installers the
same way virtual PODs are, hence there's no need for the in-between jobs
cleanup.
Change-Id: I264a5e4a917ca7e97c48dec18864e48e3637ab8e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
name: PON_TYPE
default: 'ponsim'
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
########################
########################
# trigger macros
########################
build-step-failure-threshold: 'never'
failure-threshold: 'never'
unstable-threshold: 'FAILURE'
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}
current-parameters: false
predefined-parameters: |
DEPLOY_SCENARIO={scenario}
- shell:
!include-raw-escape: ../iec/iec-fuel-deploy.sh
- 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
- job-template:
id: akraino-iec-destroy
- shell:
!include-raw-escape: ../iec/iec-{installer}-destroy.sh
- shell:
!include-raw-escape: ../iec/iec-{installer}-destroy.sh
- publishers: *publishers
+ publishers:
+ - iec-default-publisher
- job-template:
id: akraino-iec-phase-usecase
- job-template:
id: akraino-iec-phase-usecase
- shell:
!include-raw-escape: ../iec/iec-{usecase}.sh
- shell:
!include-raw-escape: ../iec/iec-{usecase}.sh
- publishers: *publishers
+ publishers:
+ - 'iec-{phase}-usecase-publisher'