fixed timestamp in artifacts

This commit is contained in:
Natalia Miakuhsina 2023-03-23 13:14:11 +01:00
parent 0f524f7af5
commit a549f8d0c6
4 changed files with 7 additions and 14 deletions

View file

@ -35,7 +35,7 @@ run_unit_test:
artifacts:
when: always
paths:
- ${CI_PROJECT_DIR}/timestamp.log
- ${CI_PROJECT_DIR}/timestamp
- memory-report.xml
- unit-test-coverage.xml
@ -52,7 +52,7 @@ run_api_test:
reports:
junit: ./report/tap.xml
paths:
- ${CI_PROJECT_DIR}/timestamp.log
- ${CI_PROJECT_DIR}/timestamp
- api-test-coverage.xml
- api-test-memory-report.xml
- api-test-result.log
@ -70,7 +70,7 @@ run_functional_test:
reports:
junit: ./report/tap.xml
paths:
- ${CI_PROJECT_DIR}/timestamp.log
- ${CI_PROJECT_DIR}/timestamp
- funl-test-coverage.xml
- funl-test-memory-report.xml
- funl-test-result.log

View file

@ -6,9 +6,8 @@ pwd
trap cleanup EXIT
trap cleanup SIGINT
set -x
pwd && ls -la
date +%s > timestamp.log
date +%s > timestamp
echo "Compiling icmwp"
build_icwmp

View file

@ -8,10 +8,7 @@ pwd
trap cleanup EXIT
trap cleanup SIGINT
set -x
pwd && ls -la
date +%s > timestamp.log
date +%s > timestamp
echo "Compiling icmwp"
build_icwmp

View file

@ -46,10 +46,7 @@ supervisorctl status
gcovr -r . 2> /dev/null #throw away stderr
# Artefact
set -x
pwd && ls -la
gcovr -r . 2> /dev/null --xml -o ./unit-test-coverage.xml
date +%s > timestamp.log
date +%s > timestamp
echo "Unit test PASS"