From: Robin Wittler Date: Wed, 7 Sep 2011 11:51:49 +0000 (+0200) Subject: add additiomnal logging X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ba676946f944e8d820ee1ca2cc6b28a69e845bb5;p=profitbricks%2Fjenkins-build-scripts.git add additiomnal logging --- diff --git a/build.py b/build.py index d5c52b4..9a18d1f 100755 --- a/build.py +++ b/build.py @@ -109,10 +109,11 @@ def send_email(result): msg = ( 'From: %s\n' %(SMTP_FROM) + 'To: %s\n' %(GIT_COMMITTER_EMAIL) + - 'Subject: %s\n' %(SMTP_SUBJECT %(GIT_UPSTREAM_BRANCH, BUILD_NUMBER, + 'Subject: %s\n' %(SMTP_SUBJECT %(GIT_DEBIAN_BRANCH, BUILD_NUMBER, result)) + - '%s\n' %(SMTP_TEXT %(GIT_UPSTREAM_BRANCH, BUILD_NUMBER, result)) + '%s\n' %(SMTP_TEXT %(GIT_DEBIAN_BRANCH, BUILD_NUMBER, result)) ) + logger.info('Sending this message: %s', msg) smtp.sendmail(SMTP_FROM, GIT_COMMITTER_EMAIL, msg) smtp.quit()