Skip to content
Snippets Groups Projects
Commit 50d4f068 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

fix_artifacts: more info to understand where files are copied.

parent bb6a528f
No related branches found
No related tags found
No related merge requests found
Pipeline #10315 failed
......@@ -73,8 +73,8 @@ pages:
- pip3 install junitparser
#update coverage o the last release
- pip3 install --upgrade coverage
- cp -R $COMMON_PATH/build build
- cp -R $MIDCSP_PATH/build/* build
- cp -R $COMMON_PATH/build/* ./build
- cp -R $MIDCSP_PATH/build/* ./build
- ls -lR
- junitparser merge build/reports/csp-lmc-common-unit-tests.xml build/reports/csp-lmc-mid-unit-tests.xml build/reports/unit-tests.xml
- ls -lR
......@@ -102,18 +102,19 @@ create ci metrics:
- pip3 install junitparser
#update coverage o the last release
- pip3 install --upgrade coverage
- cp -R $COMMON_PATH/build build
- cp -R $MIDCSP_PATH/build/* build
- ls -lR
- cp -R $COMMON_PATH/build/* ./build
- cp -R $MIDCSP_PATH/build/* ./build
- ls -lR
- junitparser merge build/reports/csp-lmc-common-unit-tests.xml build/reports/csp-lmc-mid-unit-tests.xml build/reports/unit-tests.xml
- junitparser merge build/reports/csp-lmc-common-linting.xml build/reports/csp-lmc-mid-linting.xml build/reports/linting.xml
- junitparser merge ./build/reports/csp-lmc-common-unit-tests.xml ./build/reports/csp-lmc-mid-unit-tests.xml ./build/reports/unit-tests.xml
- junitparser merge ./build/reports/csp-lmc-common-linting.xml ./build/reports/csp-lmc-mid-linting.xml ./build/reports/linting.xml
- ls -lR
- rm build/reports/csp-lmc-common-unit-tests.xml build/reports/csp-lmc-mid-unit-tests.xml
- rm build/reports/csp-lmc-common-linting.xml build/reports/csp-lmc-mid-linting.xml
- coverage combine build/csp-lmc-common_coverage build/csp-lmc-mid_coverage
- rm ./build/reports/csp-lmc-common-unit-tests.xml ./build/reports/csp-lmc-mid-unit-tests.xml
- rm ./build/reports/csp-lmc-common-linting.xml ./build/reports/csp-lmc-mid-linting.xml
- coverage combine ./build/csp-lmc-common_coverage ./build/csp-lmc-mid_coverage
- coverage xml -i
# rename file because bagdges creation looks for code-coverage.xml file
- mv coverage.xml build/reports/code-coverage.xml
- mv coverage.xml ./build/reports/code-coverage.xml
# Gitlab CI badges creation: START
- ls -alR
- apt-get -y update
......
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