Skip to content

Commit 43dd2c2

Browse files
jmillikin-stripemattklein123
authored andcommitted
Fix paths in Coverity result tarball. (envoyproxy#1983)
Coverity expects files at `cov-int/`, and gets confused if they're under `/envoy/build/cov-int/`. Signed-off-by: John Millikin <[email protected]>
1 parent 3b33f4a commit 43dd2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/do_ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ elif [[ "$1" == "bazel.coverity" ]]; then
131131
/build/cov-analysis/bin/cov-build --dir "${ENVOY_BUILD_DIR}"/cov-int bazel --batch build --action_env=LD_PRELOAD ${BAZEL_BUILD_OPTIONS} \
132132
-c opt //source/exe:envoy-static.stamped
133133
# tar up the coverity results
134-
tar czvf "${ENVOY_BUILD_DIR}"/envoy-coverity-output.tgz "${ENVOY_BUILD_DIR}"/cov-int
134+
tar czvf "${ENVOY_BUILD_DIR}"/envoy-coverity-output.tgz -C "${ENVOY_BUILD_DIR}" cov-int
135135
# Copy the Coverity results somewhere that we can access outside of the container.
136136
cp -f \
137137
"${ENVOY_BUILD_DIR}"/envoy-coverity-output.tgz \

0 commit comments

Comments
 (0)