File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 4141 fi
4242fi
4343
44+ # The coverage tool embeds an absolute path in the coverage xml file.
45+ # This causes issues when the suite is run within a container and external
46+ # tools
47+ cov_xml=" coverage/cobertura-coverage.xml"
48+ if [ -f " ${cov_xml} " -a -n " $REWRITE_COVERAGE_ROOTDIR " ]; then
49+ echo " Updating ${cov_xml} "
50+ cp " ${cov_xml} " " ${cov_xml} .orig"
51+ xmlstarlet ed --inplace -u /coverage/sources/source -v " ${REWRITE_COVERAGE_ROOTDIR} " " ${cov_xml} "
52+ fi
53+
4454if [ ` uname` != " FreeBSD" ]; then
4555 deactivate
4656fi
Original file line number Diff line number Diff line change @@ -534,7 +534,6 @@ def build_container(ctx):
534534 "-t" ,
535535 ctx .image_name ,
536536 f"--label=io.ceph.build-with-container.src={ _hash_sources ()} " ,
537- f"--build-arg=JENKINS_HOME={ ctx .cli .homedir } " ,
538537 f"--build-arg=CEPH_BASE_BRANCH={ ctx .base_branch ()} " ,
539538 ]
540539 if ctx .cli .distro :
You can’t perform that action at this time.
0 commit comments