[
https://issues.apache.org/jira/browse/HDDS-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-4858:
---------------------------------
Labels: pull-request-available (was: )
> Useless Maven cache cleanup
> ---------------------------
>
> Key: HDDS-4858
> URL: https://issues.apache.org/jira/browse/HDDS-4858
> Project: Apache Ozone
> Issue Type: Bug
> Components: build
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
>
> The {{build-branch}} Github Actions workflow has a step to avoid caching
> Ozone artifacts:
> {noformat:title=https://github.com/apache/ozone/blob/1cf90150410882cd1ef88cdef33a0de18674399e/.github/workflows/post-commit.yml#L221-L225}
> - name: Delete temporary build artifacts before caching
> run: |
> #Never cache local artifacts
> rm -rf ~/.m2/repository/org/apache/hadoop/hdds
> rm -rf ~/.m2/repository/org/apache/hadoop/ozone
> {noformat}
> There are 2 problems:
> # the cache is in a different job
> # there are no {{hdds}} and {{ozone}} subdirectories, only ones like
> {{hadoop-hdds-common}}, etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]