hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r614056 - /lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh
Date Mon, 21 Jan 2008 23:43:20 GMT
Author: nigel
Date: Mon Jan 21 15:43:19 2008
New Revision: 614056

URL: http://svn.apache.org/viewvc?rev=614056&view=rev
Log:
fix patch queue html

Modified:
    lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh

Modified: lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh?rev=614056&r1=614055&r2=614056&view=diff
==============================================================================
--- lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh (original)
+++ lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh Mon Jan 21 15:43:19 2008
@@ -48,7 +48,11 @@
 echo "<hr>" >> $QUEUE_HTML_FILE
 echo "<h2>Currently Running (or Waiting To Run)</h2>" >> $QUEUE_HTML_FILE
 echo "<table cellspacing=10><tr align=left><th>Issue</th><th>Date
Submitted to Run</th></tr>" >> $QUEUE_HTML_FILE
-echo "<tr><td><a href=\"http://issues.apache.org/jira/browse/${CURRENT_PATCH}\">$CURRENT_PATCH</a></td><td>$CURRENT_PATCH_TIME</td></tr>"
>> $QUEUE_HTML_FILE
+if [[ $CURRENT_PATCH == "none" ]] ; then
+  echo "<tr><td>$CURRENT_PATCH</td><td>$CURRENT_PATCH_TIME</td></tr>"
>> $QUEUE_HTML_FILE
+else
+  echo "<tr><td><a href=\"http://issues.apache.org/jira/browse/${CURRENT_PATCH}\">$CURRENT_PATCH</a></td><td>$CURRENT_PATCH_TIME</td></tr>"
>> $QUEUE_HTML_FILE
+fi
 echo "</table>" >> $QUEUE_HTML_FILE
 echo "<hr>" >> $QUEUE_HTML_FILE
 echo "<h2>Waiting in the Queue</h2>" >> $QUEUE_HTML_FILE



Mime
View raw message