]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add a cobertura xml file workaround variable
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 29 May 2025 17:41:45 +0000 (13:41 -0400)
committerJohn Mulligan <phlogistonjohn@asynchrono.us>
Fri, 22 Aug 2025 15:08:16 +0000 (11:08 -0400)
commit58bfc2ee6a07eeefc88077a64239b178b9c31e66
tree33940ee4f0cdd4c5f372bb0ed27008daf9e41966
parent83d16fa16e96d8b335a500668ba9f21c2de94359
mgr/dashboard: add a cobertura xml file workaround variable

Add an environment variable REWRITE_COVERAGE_ROOTDIR that
changes the "hardcoded" path in the cobertura-coverage.xml file.
This can be used to map the paths used in a container build to
the paths known to a jenkins job (or whatever else you want to
do with the file).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit f80dad2e0adfb5bca33fab292728f5c085ca3a78)
src/pybind/mgr/dashboard/run-frontend-unittests.sh