Skip to content
Snippets Groups Projects
Commit 233b1c3a authored by Jens Georg's avatar Jens Georg
Browse files

docker/groovy: Fix coverage reports for tumbleweed

- Run lcov_to_cobertura with python3 explicitly
- Install missing lcov dependency perl-JSON
parent b69c6444
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ RUN zypper refresh && \
zypper install -y nano && \
zypper install -y vim && \
zypper install -y python3-pytest && \
zypper install -y perl-JSON && \
useradd -u 30996 msk_jenkins && \
ln -sfn /usr/lib64/libzmq.so.5 /usr/lib64/libzmq.so.3
......
......@@ -341,7 +341,7 @@ for VAR in \${JOB_VARIABLES} \${TEST_VARIABLES}; do
export \\`eval echo \\\${VAR}\\`
done
make coverage || true
/common/lcov_cobertura-1.6/lcov_cobertura/lcov_cobertura.py coverage.info || true
python3 /common/lcov_cobertura-1.6/lcov_cobertura/lcov_cobertura.py coverage.info || true
cp -r coverage_html ${WORKSPACE} || true
cp -r coverage.xml ${WORKSPACE} || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment