Process WFA logs to detect success/failure; maybe send email.
We look for Traceback strings as error indicators; and specific strings to indicate success. Then if specific email-related env vars are set, we'll send emails on failure and maybe on success, with key bits of logfiles attached. The env vars you would set are TESTEMAILemail@example.com TESTMAILFAILURE=1 TESTMAILSUCCESS=1 You must set TESTEMAIL to get any mail. If you set TESTMAILFAILURE to 1, you'll get failure notifications. If you set TESTMAILSUCCESS to 1, you'll also get successful test notifications. Now I don't have to stay up all night babysitting these test runs.
Showing with 71 additions and 7 deletions