Skip to content

Commit

Permalink
Package up the errors too..
Browse files Browse the repository at this point in the history
  • Loading branch information
eswdd committed Nov 16, 2013
1 parent 6fa4606 commit a80e6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uploadSurefireReports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ find . -name "*.log" -exec tar rf logs.tar {} \;
mkdir testxml
find . -name "TEST-*.xml" -exec cp {} testxml \;
cd testxml
for i in `grep "failures=\"[1-9]"`; do
for i in `egrep "failures=\"[1-9]|errors=\"[1-9]"`; do
echo "<a href=\"$i\">$i</a>" >> index.html
done
cd ..
Expand Down Expand Up @@ -74,4 +74,4 @@ travis-artifacts upload --target-path $TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/$TRAVIS_B
# done
#done

echo "Artifacts uploaded to $ARTIFACTS_S3_BUCKET_URL/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/$TRAVIS_BUILD_ID"
echo "Artifacts uploaded to $ARTIFACTS_S3_BUCKET_URL/$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH/$TRAVIS_BUILD_ID"

0 comments on commit a80e6b0

Please sign in to comment.