Fix path normalization for sibling directories for Gradle
What does this MR do?
This update fixes the path normalization for sibling directories in Gradle projects by simplifying the root path computation. The root path is now derived by splitting the report path at "build/reports"
and identifying the preceding directory. This change ensures accurate relocation of htmlDependencyReport
artifacts for compatibility with Gemnasium.
What are the relevant issue numbers?
gitlab-org/gitlab#462792 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Philip Cunningham