failing detector in email subject
authormkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 14 Oct 2014 13:57:37 +0000 (15:57 +0200)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Tue, 14 Oct 2014 13:57:37 +0000 (15:57 +0200)
PWGPP/QA/scripts/runQA.sh

index a277ea5..9c66d35 100755 (executable)
@@ -340,7 +340,7 @@ executePlanB()
   if [[ -n ${mailTo} ]]; then 
     echo
     echo "trouble detected, sending email to ${mailTo}"
-    cat ${logSummary} | mail -s "qa in need of assistance" ${mailTo}
+    cat ${logSummary} | mail -s "${detector} QA in need of assistance" ${mailTo}
   fi
 }