import bb
str = "tinderbox: administrator: %s\n" % bb.data.getVar('TINDER_ADMIN', data, True)
- str += "tinderbox: starttime: %s\n" % bb.data.getVar('TINDER_START', bb.make.cfg, True)
+ str += "tinderbox: starttime: %s\n" % 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
# Check what we need to do Build* shows we start or are done
if name == "BuildStarted":
- data.setVar('TINDER_START', base_tinder_time(), event.data)
header = base_prepare_mail_header(event.data, 'building')
# generate
for var in os.environ:
#TINDER_ADMIN = "you@yourhost"
#Name of the client
-#TINDER_BUILDNAME = "Tinder Client Test/NameOfClient"
+#TINDER_BUILD = "Tinder Client Test/NameOfClient"
#What error parser to use
#TINDER_ERROR = "unix"
#TINDER_FROM = "you@yourhost"
#TINDER_REPORT = "1"
+TINDER_START := "${@time.strftime('%m/%d/%Y %H:%M:%S', time.localtime())}"
+