#if ($forceBuildMessage.Length > 0)

$forceBuildMessage

#end #set ($imgfolder = "http://intranet.rockstarnorth.com/images/people/") #set ($imgdir = "/ccnet/images/") #set ($imagewidth = 24) #set ($imageheight = 32) #set ($allowstopstart = false) #if (!$currDate) #set ($currDate = "XXX") #end #if (!$tomorrowDate) #set ($tomorrowDate = "XXX") #end #if (!$yesterdayDate) #set ($yesterdayDate = "XXX") #end #set ($ProjectOKCounter = 0) #set ($ProjectNOKCounter = 0) #set ($category="Core Code") #foreach ($projectGridRow in $projectGrid) #if ($projectGridRow.Category == $category) #if ($projectGridRow.BuildStatus == "Success") #set ($ProjectOKCounter = $ProjectOKCounter + 1) #else #set ($ProjectNOKCounter = $ProjectNOKCounter + 1) #end #end #end #set ($ProjectCounter = $ProjectOKCounter + $ProjectNOKCounter) #set ($updateTime = "$currTime") #if ($ProjectNOKCounter > 0) $ProjectNOKCounter builds are broken, fix to make 'build smiley' happy again. $ProjectNOKCounter/$ProjectCounter builds are bad @ $updateTime #else All builds are good, 'build smiley' is happy again. $ProjectOKCounter/$ProjectCounter builds are ok @ $updateTime #end #if ($projectGrid.Length > 0) #if ($wholeFarm) #end #foreach ($projectGridRow in $projectGrid) #if ($projectGridRow.Category == $category) #set ($currDuration = $currDateTime.Subtract($projectGridRow.StartTime) ) #set ($remaining = $projectGridRow.TotalIntegrationTime.Subtract($currDuration) ) #set ($tr_bgcolour = "Ivory") #if ($wholeFarm) #end #end #end #if ($ProjectCounter == 0) #set ($OKPercent = 50) #set ($NOKPercent = 0) #else #set ($OKPercent = 50 * $ProjectOKCounter / $ProjectCounter) #set ($NOKPercent = 50 - $OKPercent) #end #set ($OKPercentToolTip = $OKPercent * 2)
Action Project Name Last
CL
Msgs Last
Status
Process Activity Server Last
Build
Next
Build
Est. Time
Remaining
Last
Duration
#if ($allowstopstart) #end
$projectGridRow.Name #if ($projectGridRow.LastChangelist.Length > 6) $projectGridRow.LastChangelist #else $projectGridRow.LastChangelist #end #set ($msg = $projectGridRow.CurrentMessage) #if ($msg.Length > 0) #set ($msg = $msg.Replace("Breakers :","").Trim()) #set ($msg = $msg.Replace(".","_").Trim()) #set ($localBreakerJpg = "${imgdir}${msg}.jpg") #set ($breakerJpg = "${imgfolder}${msg}.jpg") #set ($numBreakers = $msg.Length - $msg.Replace(",", "").Length + 1) #if ($numBreakers > 3) #set ($breakerJpg = "${imgdir}4breakers.jpg") #end #if ($numBreakers == 2) #set ($breakerJpg = "${imgdir}2breakers.jpg") #end #if ($numBreakers == 3) #set ($breakerJpg = "${imgdir}3breakers.jpg") #end #set ($premsg = "The culprits") #if ($numBreakers == 1) #set ($premsg = "The culprit") #end ${premsg} : ${msg} #end $projectGridRow.BuildStatus #if ($projectGridRow.Status != "Running") $projectGridRow.Status #else $projectGridRow.Status #end #if ($projectGridRow.Activity == "Building") #if ($projectGridRow.BuildStatus != "Success") $projectGridRow.Activity #else $projectGridRow.Activity #end #else $projectGridRow.Activity #end $projectGridRow.ServerName #set ($len = $projectGridRow.LastBuildDate.Length - 3) #set ($formattedDate = $projectGridRow.LastBuildDate.Remove($len,3).Replace($currDate,"") ) #set ($formattedDate = $formattedDate.Replace($tomorrowDate,"tomorrow") ) #set ($formattedDate = $formattedDate.Replace($yesterdayDate,"yesterday") ) $formattedDate #set ($len = $projectGridRow.LastBuildDate.Length - 3) #set ($formattedDate = $projectGridRow.NextBuildTime.Remove($len,3).Replace($currDate,"")) #set ($formattedDate = $formattedDate.Replace($tomorrowDate,"tomorrow") ) #set ($formattedDate = $formattedDate.Replace($yesterdayDate,"yesterday") ) $formattedDate #if ($projectGridRow.Activity == "Building") #if ($remaining.Hours != 0) #if ($remaining.TotalSeconds<0) $remaining.Hours Hrs $remaining.Minutes Mins $remaining.Seconds Secs #else $remaining.Hours Hrs $remaining.Minutes Mins $remaining.Seconds Secs #end #else #if ($remaining.Minutes != 0) #if ($remaining.TotalSeconds<0) $remaining.Minutes Mins $remaining.Seconds Secs #else $remaining.Minutes Mins $remaining.Seconds Secs #end #else #if ($remaining.TotalSeconds<0) $remaining.Seconds Secs #else $remaining.Seconds Secs #end #end #end #end #if ($projectGridRow.TotalIntegrationTime.Hours > 0) $projectGridRow.TotalIntegrationTime.Hours Hrs $projectGridRow.TotalIntegrationTime.Minutes Mins $projectGridRow.TotalIntegrationTime.Seconds Secs #else #if ($projectGridRow.TotalIntegrationTime.Minutes > 0) $projectGridRow.TotalIntegrationTime.Minutes Mins $projectGridRow.TotalIntegrationTime.Seconds Secs #else $projectGridRow.TotalIntegrationTime.Seconds Secs #end #end
#end