Commit 3cae2338 authored by Jan Kiene's avatar Jan Kiene
Browse files

amend pipeline for getting the failed testcases

parent 403c61ad
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -447,7 +447,7 @@ stages:
    - touch $FAILED_TESTCASES_LIST
    - if [ $exit_code -ne 0 ]; then
    -   exit_code=$EXIT_CODE_NON_BE
    -   grep "^FAILED" pytest_log.txt | sed 's/^FAILED //' | awk -F'::' '{print "\"" $1 "::" $2 "\"" }' > $FAILED_TESTCASES_LIST
    -   grep "^FAILED" pytest_log.txt | sed 's/^FAILED //' | sed 's/] - .*/]/' | awk -F'::' '{print "\"" $1 "::" $2 "\"" }' > $FAILED_TESTCASES_LIST
    - fi

    - cat $FAILED_TESTCASES_LIST