-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish failed gradle test results #397
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #397 +/- ##
=========================================
Coverage 87.01% 87.01%
Complexity 31 31
=========================================
Files 86 86
Lines 231 231
Branches 12 12
=========================================
Hits 201 201
Misses 22 22
Partials 8 8 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vars/getTestResults.groovy
Outdated
@@ -0,0 +1,141 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename it getGradleTestResults? since these are specific to the gradle test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed.
Signed-off-by: Rishabh Singh <[email protected]>
Signed-off-by: Rishabh Singh <[email protected]> (cherry picked from commit 2d571f5) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This PR is to publish all the failng tests for each
gradle-check
job runs.The results will be indexed into our metrics cluster (publicly available).
A sample record would look like.
This script will be added to the
post
action block of gradle-check.The PR has no tests due to lack to support for jenkins internal methods, specifically
currentBuild
object.Issues Resolved
opensearch-project/opensearch-build#4469
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.