% @LANGUAGE = VBScript %> <% '===================================================== ' ' Build Status and Plan Information ' '===================================================== %> <% Option explicit ' Good idea to set when using redirect Response.Expires = 0 ' always load the page, dont store %> <% '------------ ACCESS CONTROL ------------------ %> <% '------------ Scripts -------------------------- %> <% '------------ Variable Definition ------------- Dim rsQry Dim parRtagId Dim query_string Dim rcon_id Dim canControl '------------ Constants Declaration ----------- '------------ Variable Init ------------------- parRtagId = Request("rtag_id") objPMod.PersistInQryString("rtag_id") canControl = canActionControlInProject("BuildControl") '------------------------------------------------- ' Sub ShowDaemonStatus %>
| DAEMON STATUS INFORMATION | Last Build: <%=GetLastBuildAge(parRtagId)%> [<%=GetModifiedSeqNo(parRtagId)%>] | [Refresh] |
| DAEMON BUILD PLAN<%=Quick_Help("h_buildplan")%> | Now: <%=DisplayShortDateTimeSecs(BuildNow)%> AWST |
| Package | Version | Duration<%=Quick_Help("h_buildDuration")%> | Build Completion<%=Quick_Help("h_buildEnd")%> | <% Dim PkgVersion, buildDuration, durationDisplay, durationText, completionText Set rsQry = OraDatabase.DbCreateDynaset( "SELECT p.PKG_NAME," &_ " pv.PKG_VERSION, pv.BUILD_TIME," &_ " bp.PV_ID" &_ " FROM build_plan bp," &_ " packages p," &_ " package_versions pv" &_ " WHERE bp.PV_ID = pv.pv_id" &_ " AND RTAG_ID = " & parRtagId &_ " AND pv.PKG_ID = p.pkg_id" &_ " ORDER BY build_order" , ORADYN_DEFAULT ) If rsQry.RecordCount = 0 Then %>
|---|---|---|---|
| No packages to be built | |||
| New Plan<%=Quick_Help("h_newPlan")%> | |||
| <%=Get_Package_Name(rsQry("PKG_NAME"), parRtagId, rsQry("PV_ID"), 0, "Y")%> | <%=rsQry("PKG_VERSION")%> | <%=durationDisplay%> | <%=DisplayShortDateTimeSecs(BuildStart) & durationText & completionText%> |
| <%Call BuildMenuPane%> <%Call PlanControlPane%> | <%Call ShowDaemonStatus%> <%Call ShowBuildPlan%> |
![]() |