gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: changed linkchecker fail messa


From: gnunet
Subject: [taler-deployment] branch master updated: changed linkchecker fail message; added e-mail address
Date: Thu, 18 Jun 2020 07:15:46 +0200

This is an automated email from the git hooks/post-receive script.

buck pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 2290dbc  changed linkchecker fail message; added e-mail address
2290dbc is described below

commit 2290dbc2ad1a3e663446550d3dc25bb623aa8ce6
Author: buckE <buckE@disroot.org>
AuthorDate: Thu Jun 18 05:15:30 2020 +0000

    changed linkchecker fail message; added e-mail address
---
 buildbot/linkchecker.sh | 2 +-
 buildbot/master.cfg     | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/buildbot/linkchecker.sh b/buildbot/linkchecker.sh
index 6395a31..63fa7c7 100755
--- 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
index 954b0b1..aa47ece 100644
--- 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"
 )
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]