Changeset 1074
- Timestamp:
- 06/24/09 09:38:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/report.sh
r944 r1074 30 30 <style type="text/css"> 31 31 <!-- 32 .issmbody { 33 margin: auto; 34 width:800px; 35 background: none; 36 color: #404040; 37 font-family: Arial, Verdana, Tahoma; 38 font-size: 14px; 39 font-weight: normal; 40 text-align: left; 41 } 42 32 43 .issmh1 { 33 margin-top:1em; 44 margin:2em auto; 45 width:800px; 34 46 background: none; 35 47 color: #6495ed; … … 41 53 42 54 .issmh2 { 43 margin -top:1.5em;55 margin:1.5em auto 1em auto; 44 56 width:800px; 45 57 background: transparent; … … 51 63 } 52 64 53 .issmcomment 54 {white-space:pre-wrap; 55 word-wrap:break-word; 65 .issmfooter { 66 margin:auto; 67 width:800px; 68 background: none; 69 color: #404040; 70 font-family: Arial, Verdana, Tahoma; 71 font-size: 12px; 72 font-weight: normal; 73 text-align: center; 74 } 75 76 .issmcomment { 56 77 padding:4px; 78 margin:0 auto; 57 79 width:800px; 58 80 border:1px dashed #000000; … … 64 86 --> 65 87 </style> 66 <div align="center" style=" font-family:Arial,Verdana,Tahoma; font-size: 14px; color: #404040;">88 <div class="issmh1">ISSM Nightly run report</div> 67 89 <br> 68 <pre class="issmh1">ISSM Nightly run report</pre> 90 <div class="issmcomment"> 91 host: $host_name<br> 92 date: $today<br> 93 release: $ISSM_RELEASE<br> 69 94 <br> 70 <pre class="issmcomment">71 host: $host_name72 date: $today73 release: $ISSM_RELEASE74 75 95 status: $(if [ `wc -l check.log | awk '{printf("%s",$1);}'` = "0" ]; 76 96 then … … 80 100 fi 81 101 rm check.log) 82 number of errors: $(wc -l errors.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}'; rm errors.log) 83 number of success: $(wc -l success.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';rm success.log tests.log)</pre> 102 <br> 103 number of errors: $(wc -l errors.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}'; rm errors.log)<br> 104 number of success: $(wc -l success.log | awk '{printf("%s",$1);}')/$(wc -l tests.log | awk '{printf("%s",$1);}';rm success.log tests.log)</div> 84 105 <br> 85 106 <hr width="900px"> … … 89 110 #enter title 90 111 if [ $package == "macayeal" ]; then 91 echo "< pre class=\"issmh2\">MacAyeal package</pre>"112 echo "<div class=\"issmh2\">MacAyeal package</div>" 92 113 fi 93 114 if [ $package == "ice" ]; then 94 echo "< pre class=\"issmh2\">Ice package</pre>"115 echo "<div class=\"issmh2\">Ice package</div>" 95 116 fi 96 117 if [ $package == "cielo_serial" ]; then 97 echo "< pre class=\"issmh2\">Cielo Serial package</pre>"118 echo "<div class=\"issmh2\">Cielo Serial package</div>" 98 119 fi 99 120 if [ $package == "cielo_parallel" ]; then 100 echo "< pre class=\"issmh2\">Cielo Parallel package</pre>"121 echo "<div class=\"issmh2\">Cielo Parallel package</div>" 101 122 fi 102 123 103 #check that at least one test exists 124 #Print division 125 echo "<div class=\"issmbody\">" 126 127 #check that at least one Test exists 104 128 if [ `wc -l $package.log | awk '{printf("%s",$1);}'` = "0" ]; then 105 echo "   No test found." 129 130 #No Test: use a table to fix entourage bug. 131 echo "<table width=\"200px\" style=\"color:#FF0000; font-size:14px;\"><tr><td align=\"center\">No test found.</td></tr></table>" 132 106 133 else 107 134 … … 129 156 echo "</table>" 130 157 fi 158 159 #Print end division and remove log file 160 echo "</div>" 131 161 rm $package.log 162 132 163 done) 133 164 134 <br> 135 <br> 136 <center><small></a><a href="http://issm.jpl.nasa.gov" title="ISSM website" target="_blank">ISSM</a> nightly run report</small></center> 137 </div> 138 </body> 139 </html> 165 <br> 166 <br> 167 <div class="issmfooter"><a href="http://issm.jpl.nasa.gov" title="ISSM website" target="_blank">ISSM</a> nightly run report</div> 168 </body> 169 </html> 140 170 END
Note:
See TracChangeset
for help on using the changeset viewer.