servicemix-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=703425&view=rev
Log:
handling for fatal error maven status --> ends up in normal failure

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=703425&r1=703424&r2=703425&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Fri Oct 10 04:56:23 2008
@@ -66,6 +66,7 @@
   String dir = "/mnt/builds/logs/";
   String failedTestsCheck = "[ERROR] There are test failures.";
   String errorTest = "[ERROR] BUILD ERROR";
+  String fatalErrorTest = "[ERROR] FATAL ERROR";
   String successTest = "BUILD SUCCESSFUL";
   String key_projectMap = "projects";
   String key_timestamps = "timestamps";
@@ -178,7 +179,8 @@
         } else {
           if (line.contains(failedTestsCheck)) {
             failedTests = true;
-          } else if (line.contains(errorTest)) {
+          } else if (line.contains(errorTest) ||
+                     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);
             return result;



Mime
View raw message