$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)
| Action | Project Name |
Last CL |
Msgs |
Last Status |
Process | Activity | #if ($wholeFarm)Server | #end
Last Build |
Next Build |
Est. Time Remaining |
Last Duration |
|
| $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
|
$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 | #if ($wholeFarm)$projectGridRow.ServerName | #end#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 | ||
|
|
||||||||||||