new handling for the junit xml
This commit is contained in:
parent
fddb3cda40
commit
496893d21b
|
|
@ -9,7 +9,7 @@ DATE_DIR=$(ls -1 ../build/sitespeed-result/$DOMAIN_DIR | head -n1);
|
|||
RESULT_DIR=$( cd ../build/sitespeed-result/$DOMAIN_DIR/$DATE_DIR && pwd)
|
||||
|
||||
|
||||
files=( index.html errorurls.html pages.html rules.html summary-details.html pages/1.html pages/2.html pages/3.html)
|
||||
files=( index.html errorurls.html pages.html rules.html summary-details.html pages/1.html pages/2.html pages/3.html daat/sitespeed-junit.xml)
|
||||
|
||||
for i in "${files[@]}"
|
||||
do
|
||||
|
|
@ -20,13 +20,6 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
if [ ! -s ../build/junit.xml ];
|
||||
then
|
||||
echo "The file build/junit.xml wasnt created"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo 'The test finished succesfully'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue