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

Manually flushing maven cache during cleanup #403

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

peternied
Copy link
Member

Signed-off-by: Peter Nied [email protected]

Description

Previous clean up did clean up the workspace, but the shared maven local repository was not cleaned

Issues Resolved

#392

Check List

  • Commits are signed per the DCO using --signoff

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.

@codecov-commenter
Copy link

Codecov Report

Merging #403 (a74a416) into main (45bae98) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #403   +/-   ##
=======================================
  Coverage   59.04%   59.04%           
=======================================
  Files          38       38           
  Lines        1111     1111           
=======================================
  Hits          656      656           
  Misses        455      455           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45bae98...a74a416. Read the comment docs.

@peternied
Copy link
Member Author

Still awaiting the test run from the Jenkins server before I attempt to merge

@@ -46,6 +46,7 @@ pipeline {
post() {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
sh "rm -rf ~/.m2/"
Copy link
Member

Choose a reason for hiding this comment

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

Can we have this in a clean_up function in this script so we can add all the common stuff that needs to be removed in one place?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's circle back and refactor the pipeline if it starts getting harder to understand, the cost to make a function hardly saves much real estate sadly

@peternied peternied merged commit a8970c6 into opensearch-project:main Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants