]> git.apps.os.sepia.ceph.com Git - ceph-ci.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 <jmulligan@redhat.com>
Thu, 21 Aug 2025 20:52:49 +0000 (16:52 -0400)
commit86a00bc44d5d1d27ae3ca945e978b3d1ec5ea5cf
treebacca89553f5215f1dac4c438780ad6d71ce58ec
parent0d8634ec8f4445d463dd1781baaa6945c9ddadea
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