From 969b77adbd9ce1e28fbe393e719dd873aee62971 Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Wed, 9 Mar 2022 07:11:38 -0800 Subject: [PATCH] [Dashboards] include output integ test for arm64 (#1727) Originally when adding integ tests to OpenSearch Dashboards I didn't want to the pipeline to showed as failed because arm64 couldn't run the automated testing. But after: https://github.com/opensearch-project/opensearch-build/pull/1715 ARM64 tests can run in the CI. So this adds outputing the results of tests for ARM64 OSD. Signed-off-by: Kawika Avilla --- .../opensearch-dashboards/distribution-build.jenkinsfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile index 727adf165e..279cffb4d2 100644 --- a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile +++ b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile @@ -151,10 +151,13 @@ pipeline { string(name: 'CONTAINER_IMAGE', value: dockerAgent.image) ] - // TODO: consume results once ARM64 works - // https://github.com/opensearch-project/opensearch-build/issues/1381 String status = integTestResults.getResult() - echo "${status}" + String icon = status == 'SUCCESS' ? ':white_check_mark:' : ':warning:' + lib.jenkins.Messages.new(this).add( + STAGE_NAME, + lib.jenkins.Messages.new(this).get([STAGE_NAME]) + + "\nInteg Tests (arm64): ${icon} ${status} ${integTestResults.getAbsoluteUrl()}" + ) } } post {