From: Holger Freyther Date: Sat, 23 Jul 2005 20:24:05 +0000 (+0000) Subject: TinderClient.bbclass: X-Git-Tag: Release-2010-05/1~9453^2~4080 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=738a1c74e4b2b019ce0547bac017f74a99e2a3de;p=openembedded.git TinderClient.bbclass: -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. --- diff --git a/classes/tinderclient.bbclass b/classes/tinderclient.bbclass index fc1f4d2137..a4aabbdf76 100644 --- a/classes/tinderclient.bbclass +++ b/classes/tinderclient.bbclass @@ -96,7 +96,7 @@ def base_do_tinder_report(event): 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) diff --git a/conf/tinder.conf b/conf/tinder.conf index 1d236b76b7..9ed63e4828 100644 --- a/conf/tinder.conf +++ b/conf/tinder.conf @@ -6,10 +6,13 @@ INHERIT += "tinderclient" #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"