add link to openQA results in announcer

maybe that helps to bring more attention to the test results
This commit is contained in:
Ludwig Nussel 2016-01-27 13:20:44 +01:00
parent 82e8317f34
commit 9c58ba0bb3

View File

@ -52,6 +52,9 @@ Please note that this mail was generated by a script.
The described changes are computed based on the x86_64 DVD.
The full online repo contains too many changes to be listed here.
Please check the known defects of this snapshot before upgrading:
https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed&build={}
"""
current_fn = os.path.join(os.path.dirname(__file__), "announcer-current-version")
@ -108,7 +111,7 @@ if not "====" in txt:
print >>sys.stderr, "no changes or file corrupt? not sending anything"
sys.exit(1)
msg = MIMEText(intro + txt)
msg = MIMEText(intro.format(version) + txt)
msg['Subject'] = 'New Tumbleweed snapshot %s released!'%version
msg['From'] = options.sender
msg['To'] = options.to