Skip to content
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

Refactor distribution-build.jenkinsfile for opensearch-dashboards #4371

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

jordarlu
Copy link
Contributor

@jordarlu jordarlu commented Jan 25, 2024

Description

Refactoring distribution-build.jenkinsfile for opensearch-dashboards by reducing repetitive code

Issues Resolved

N/A

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.

Signed-off-by: Jeff Lu <chunglu@amazon.com>
@jordarlu jordarlu changed the title refactor distribution-build.jenkinsfile for opensearch-dashboards Refactor distribution-build.jenkinsfile for opensearch-dashboards Jan 25, 2024
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0fe9758) 91.35% compared to head (574d530) 91.35%.

❗ Current head 574d530 differs from pull request most recent head 37a86d6. Consider uploading reports for the commit 37a86d6 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4371   +/-   ##
=======================================
  Coverage   91.35%   91.35%           
=======================================
  Files         190      190           
  Lines        6179     6179           
=======================================
  Hits         5645     5645           
  Misses        534      534           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1104,3 +1054,36 @@ def markStageUnstableIfPluginsFailedToBuild() {
unstable('Some plugins failed to build. See the ./build.sh step for logs and more details')
}
}

def triggerIntegrationTests(String buildManifestUrl, String buildManifestUrlOpenSearch) {
Boolean skipIntegTests = (INTEG_TEST_JOB_NAME == '' || TEST_MANIFEST == '' || buildManifestUrl == '')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a null check for buildManifestUrlOpenSearch as well.
Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing that,, adding it now.

Signed-off-by: Jeff Lu <chunglu@amazon.com>
@prudhvigodithi prudhvigodithi merged commit 27d2d1e into opensearch-project:main Jan 25, 2024
10 checks passed
@jordarlu jordarlu deleted the osd_jenkins branch January 25, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants