openembedded/classes/tinderclient.bbclass:
authorHolger Freyther <zecke@selfish.org>
Tue, 26 Jul 2005 13:57:48 +0000 (13:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 26 Jul 2005 13:57:48 +0000 (13:57 +0000)
-Use the BUILDSTART as the starttime for the tinderbox.
         In every none malicious bbfile this variable should
         have the same time.

classes/tinderclient.bbclass

index 869cd04..4f3c495 100644 (file)
@@ -7,7 +7,7 @@ def base_prepare_mail_header(data, status):
     import bb
 
     str  = "tinderbox: administrator: %s\n" % bb.data.getVar('TINDER_ADMIN', data, True)
-    str += "tinderbox: starttime: %s\n"     % bb.data.getVar('TINDER_START', data, True)
+    str += "tinderbox: starttime: %s\n"     % bb.data.getVar('BUILDSTART', data, True) or bb.data.getVar('TINDER_START', data, True)
     str += "tinderbox: buildname: %s\n"     % bb.data.getVar('TINDER_BUILD', data, True)
     str += "tinderbox: errorparser: %s\n"   % bb.data.getVar('TINDER_ERROR', data, True)
     str += "tinderbox: status: %s\n"        % status