Skip to content

Commit

Permalink
[Dashboards] include output integ test for arm64 (#1727)
Browse files Browse the repository at this point in the history
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:
#1715

ARM64 tests can run in the CI. So this adds outputing the results
of tests for ARM64 OSD.

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla authored Mar 9, 2022
1 parent 8e81337 commit 969b77a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions jenkins/opensearch-dashboards/distribution-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 969b77a

Please sign in to comment.