Skip to content
Snippets Groups Projects
Commit bc8de150 authored by Zero's avatar Zero
Browse files

Update .gitlab-ci.yml

parent eaca9d86
No related branches found
No related tags found
No related merge requests found
Pipeline #4348 failed with stages
in 55 seconds
......@@ -44,8 +44,8 @@ getTotalTest:
stage: getTotalTest
script:
- echo "hello world!"
- find ./littleRTA/**/target/surefire-reports -name '*.xml' -exec awk '^.*time="([0-9\.]+)" tests="(\d+)" errors="(\d+)" skipped="(\d+)" failures="(\d+)".*$' > totalText.txt
#- find ./littleRTA/**/target/surefire-reports -name '*.xml' -exec awk 'NR==2' {} \; > totalText.txt
- find ./littleRTA/**/target/surefire-reports -name '*.xml' -exec awk 'NR==2' {} \; > totalText.txt
- grep '^.*time="([0-9\.]+)" tests="(\d+)" errors="(\d+)" skipped="(\d+)" failures="(\d+)".*$'
#- grep '^.*time="([0-9\.]+)" tests="(\d+)" errors="(\d+)" skipped="(\d+)" failures="(\d+)".*$' totalText.txt
artifacts:
when: always
......
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