taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 2290dbc2ad1a3e663446550d3dc25bb623aa8ce6
parent 5ac58235b5ddcf10b3688381682451ec475439d3
Author: buckE <buckE@disroot.org>
Date:   Thu, 18 Jun 2020 05:15:30 +0000

changed linkchecker fail message; added e-mail address

Diffstat:
Mbuildbot/linkchecker.sh | 2+-
Mbuildbot/master.cfg | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/buildbot/linkchecker.sh b/buildbot/linkchecker.sh @@ -29,7 +29,7 @@ echo # Search the log for the phrase "broken link" as this is what wget will report if grep -iRl 'broken link!!' $logfile then - echo "Found broken links. !! TODO: Send message here" + echo "Found broken links. Build should fail (exit 1), triggering e-mail notification." exit 1 else echo "No broken links found. Nothing more to do." diff --git a/buildbot/master.cfg b/buildbot/master.cfg @@ -391,7 +391,7 @@ LINKCHECKER_FACTORY.addStep( ShellCommand( name="linkchecker", description="Check taler.net website for broken links && Notify", - descriptionDone="linkchecker links checked", + descriptionDone=": See /home/linkchecker/linkchecker.log for details.", command=["/home/linkchecker/deployment/buildbot/linkchecker.sh"], workdir="/home/linkchecker", haltOnFailure=True @@ -1029,7 +1029,8 @@ brokenLinksEmailNotifier = reporters.MailNotifier( # notify if build fails (ex: linkchecker.sh exit 1) mode=('failing'), builders=('linkchecker-builder',), - extraRecipients=['buckE@taler.net'], + extraRecipients=['buckE@taler.net','brokenlinks@taler.net'], + subject="Broken Links Found in www.taler.net" )