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

Remove the rm .jar because it's removing necessary binaries #228

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

hjrocha
Copy link
Contributor

@hjrocha hjrocha commented Jul 19, 2024

No description provided.

@hjrocha hjrocha enabled auto-merge July 19, 2024 10:13
@manufacturist
Copy link
Contributor

manufacturist commented Jul 23, 2024

#223 removed jars before caching, however the assembly ones are still required later in the process. This was not tested everywhere, due to slow adoption, therefore, a failure surfaced now.

Example of failure

https://app.circleci.com/pipelines/github/codacy/codacy-coverage-reporter/1741/workflows/b750080d-7c5c-4a54-a9c2-7e2d6060a03a/jobs/16652

https://codacy.atlassian.net/browse/REL-1572

@codacy codacy deleted a comment from codacy-production bot Jul 23, 2024
@hjrocha hjrocha merged commit e11edea into master Jul 23, 2024
6 checks passed
@@ -149,7 +149,7 @@ steps:
find $HOME/.sbt -name "*.lock" | xargs rm | true
find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm | true
# delete all jars inside target directories
find . -name *.jar -type f -exec rm {} \;
find . -type f -name *.jar ! -name *-assembly.jar -exec rm {} \;

Choose a reason for hiding this comment

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

Should this not contain quotes? So it would be as follows:

Suggested change
find . -type f -name *.jar ! -name *-assembly.jar -exec rm {} \;
find . -type f -name *.jar ! -name "*-assembly.jar" -exec rm {} \;

@MiguelMarcelino MiguelMarcelino deleted the fix-rm-jar-on-target branch July 23, 2024 10:50
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.

4 participants