servicemix-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=703415&view=rev
Log:
improved recognition of maven build status

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=703415&r1=703414&r2=703415&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Fri Oct 10 04:35:20 2008
@@ -31,6 +31,12 @@
       padding-left: 8px;
       padding-right: 8px;
     }
+    .unknown {
+      background-color: yellow;
+      color: black;
+      padding-left: 8px;
+      padding-right: 8px;
+    }
     .success {
       background-color: green;
       color: white;
@@ -124,7 +130,7 @@
     
     if (!f.exists() || !f.isFile()) {
         // log file is missing
-        return "<td class='unavailable' width='60%'><a href='http://projects.open.iona.com/builds/status'
class='unavailable'>UNKNOWN</a></td>";
+        return "<td class='unavailable' width='60%'><a href='http://projects.open.iona.com/builds/status'
class='unavailable'>NOT AVAILABLE</a></td>";
     }
     
     String durationText = convertToDuration(System.currentTimeMillis() - f.lastModified());
@@ -197,7 +203,7 @@
       }
     }
 
-    return "<td class='unavailable' width='60%'><a href='logs/" + uri + "' class='unavailable'>UNKNOWN</a></td>";
+    return "<td class='unknown' width='60%'><a href='logs/" + uri + "' class='unknown'>UNKNOWN</a></td>";
   }
   
   void saveResult(HttpSession session, long ts, String uri, String result) {



Mime
View raw message