-Add a TINDER_SUBJECT field, mails will carry that subject
tinder.conf:
-Mention TINDER_TREE and TINDER_SUBJECT. Without TINDER_TREE the
tinderbox will not know how to associate your report.
import smtplib
from email.MIMEText import MIMEText
msg = MIMEText(header +'\n' + log)
- msg['Subject'] = "Tinder-Client build log"
+ msg['Subject'] = data.getVar('TINDER_SUBJECT',event.data, True) or "Tinder-Client build log"
msg['To'] = data.getVar('TINDER_MAILTO',event.data, True)
msg['From'] = data.getVar('TINDER_FROM', event.data, True)
#Name of the client
#TINDER_BUILDNAME = "Tinder Client Test/NameOfClient"
+#What error parser to use
#TINDER_ERROR = "unix"
#TINDER_VERBOSE_REPORT = "1"
#TINDER_LOG = "${TMPDIR}/tinder.log"
#TINDER_MAILTO = "tinderbox-oe@gmx.net"
+#TINDER_SUBJECT = "Subject of the to be send mail"
+#TINDER_TREE = "OpenEmbeddedBuild"
#the From: of the report mails
#TINDER_FROM = "you@yourhost"