servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r703785 - /servicemix/scripts/builds/webapps/builds/status.jsp
Date Sun, 12 Oct 2008 11:04:56 GMT
Author: lhein
Date: Sun Oct 12 04:04:55 2008
New Revision: 703785

URL: http://svn.apache.org/viewvc?rev=703785&view=rev
Log:
fixed error recognition on missing dependencies

Modified:
    servicemix/scripts/builds/webapps/builds/status.jsp

Modified: servicemix/scripts/builds/webapps/builds/status.jsp
URL: http://svn.apache.org/viewvc/servicemix/scripts/builds/webapps/builds/status.jsp?rev=703785&r1=703784&r2=703785&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Sun Oct 12 04:04:55 2008
@@ -67,6 +67,7 @@
   String failedTestsCheck = "[ERROR] There are test failures.";
   String errorTest = "[ERROR] BUILD ERROR";
   String fatalErrorTest = "[ERROR] FATAL ERROR";
+  String otherErrorsTest = "[INFO] BUILD ERRORS";
   String successTest = "BUILD SUCCESSFUL";
   String key_projectMap = "projects";
   String key_timestamps = "timestamps";
@@ -177,6 +178,7 @@
           if (line.contains(failedTestsCheck)) {
             failedTests = true;
           } else if (line.contains(errorTest) ||
+        		     line.contains(otherErrorsTest) ||
                      line.contains(fatalErrorTest)) {
             String result = "<td class='failure' width='60%'><a href='logs/" + uri
+ "' class='failure'>FAILURE " + durationText + "</a></td>";
             saveResult(session, f.lastModified(), uri, result);



Mime
View raw message