diff options
author | Holger Freyther <zecke@selfish.org> | 2005-07-23 20:24:05 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-23 20:24:05 +0000 |
commit | 738a1c74e4b2b019ce0547bac017f74a99e2a3de (patch) | |
tree | 419c5532c5ef252f11e5a44b42cd0c3b73d6d1cd | |
parent | fc0159d05f362b458f2d995b522e5cccde4952f1 (diff) | |
download | openembedded-738a1c74e4b2b019ce0547bac017f74a99e2a3de.tar.gz |
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.
-rw-r--r-- | classes/tinderclient.bbclass | 2 | ||||
-rw-r--r-- | conf/tinder.conf | 3 |
2 files changed, 4 insertions, 1 deletions
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" |