servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r701073 - /servicemix/scripts/builds/webapps/builds/status.jsp
Date Thu, 02 Oct 2008 10:47:04 GMT
Author: lhein
Date: Thu Oct  2 03:47:04 2008
New Revision: 701073

URL: http://svn.apache.org/viewvc?rev=701073&view=rev
Log:
done some formatting

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=701073&r1=701072&r2=701073&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Thu Oct  2 03:47:04 2008
@@ -69,15 +69,15 @@
             failedTests = true;
           } else if (line.contains("BUILD SUCCESSFUL")) {
             if (failedTests) {
-              return "<a href='logs/" + uri + "' class='success_with_failed_tests'>SUCCESS
(with failures)</a> " + durationText;
+              return "<a href='logs/" + uri + "' class='success_with_failed_tests'>SUCCESS
(with failures) " + durationText + "</a>"
             } else {
-              return "<a href='logs/" + uri + "' class='success'>SUCCESS</a>
" + durationText;
+              return "<a href='logs/" + uri + "' class='success'>SUCCESS " + durationText
+ "</a>"
             }
           }
         }
       }
     } catch (IOException e) {
-      return "<a href='logs/" + uri + "' class='error'>" + e + "</a> " + durationText;
+      return "<a href='logs/" + uri + "' class='error'>" + e + " " + durationText +
"</a>"
     }
     finally {
       if (reader != null) {
@@ -88,7 +88,7 @@
         }
       }
     }
-    return "<a href='logs/" + uri + "' class='failure'>FAILURE</a> " + durationText;
+    return "<a href='logs/" + uri + "' class='failure'>FAILURE " + durationText + "</a>";
   }
   
   String convertToDuration(long millis) {



Mime
View raw message