Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 6d23566

Browse files
committed
fix scoverage-report path
1 parent 58ae599 commit 6d23566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/package/scripts/build-sbt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ COVERAGE_RESULT_DIR="${BUILD_DIR}/scala-2.13"
6969
if [ -d "${COVERAGE_RESULT_DIR}" ]; then
7070
CODE_COVERAGE_ARTIFACTS_DIR="${ARTIFACTS_DIR}/code-coverage"
7171
mkdir -p "${CODE_COVERAGE_ARTIFACTS_DIR}"
72-
cp "${COVERAGE_RESULT_DIR}/scoverage.xml" "${CODE_COVERAGE_ARTIFACTS_DIR}/${ARTIFACT_PREFIX}scoverage.xml"
72+
cp "${COVERAGE_RESULT_DIR}/scoverage-report/scoverage.xml" "${CODE_COVERAGE_ARTIFACTS_DIR}/${ARTIFACT_PREFIX}scoverage.xml"
7373
else
7474
echo "Build failed: no unit test coverage report was found in ${COVERAGE_RESULT_DIR}"
7575
exit 1

0 commit comments

Comments
 (0)