Skip to content
Snippets Groups Projects
Commit 300a78fc authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Changed error Grepping for email; now showing 50 lines before each error

 message.
parent 9658918a
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ SUBJECT=[REGTEST]${SUBJECT_FULL##*SUBJECT:} ...@@ -54,7 +54,7 @@ SUBJECT=[REGTEST]${SUBJECT_FULL##*SUBJECT:}
SUBJECT=$SUBJECT" - SVN revision ${SVN_REV}" SUBJECT=$SUBJECT" - SVN revision ${SVN_REV}"
# Grep non-duplicate error messages from the log file # Grep non-duplicate error messages from the log file
LOG=$(cat $LOGFILE | grep Error | sort | uniq) LOG=$(cat $LOGFILE | grep Error -B 50)
############################################################################### ###############################################################################
# Send the email by piping the final strings to the mail command # Send the email by piping the final strings to the mail command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment