]> 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 <phlogistonjohn@asynchrono.us>
Fri, 22 Aug 2025 14:47:29 +0000 (10:47 -0400)
commit645e38ed11f167d05938c7ff8e0e547eb1faba47
tree4f28ec05ade32052e37cb1a1f06c465a0f2171c6
parentad389dfbbe9025a9e864203a5e4970117fccb671
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