</style>
<xsl:if test="//JobsReport/infos/@JobsCommandStatus='running'">
- <meta http-equiv="refresh" content="10"></meta>
+ <meta http-equiv="refresh" content="120"></meta>
</xsl:if>
<script language="JavaScript"><![CDATA[
legend
</a>
<br/>
+ <a href="#">
+ <xsl:attribute name="onclick">javascript:Toggle('history')</xsl:attribute>
+ <xsl:attribute name="title">history</xsl:attribute>
+ history
+ </a>
+ <br/>
<br/>
<div id="matrix">
<xsl:for-each select="//JobsReport/jobs/job">
<xsl:sort select="@name" />
-
+ <xsl:variable name="curr_job_name" select="@name" />
<xsl:if test="application/.=$curr_appli and distribution/.=$curr_distname and board/.=//JobsReport/board/.">
<!-- Change background color if it is an extra job (not defined in the input csv files) -->
<xsl:if test="extra_job/.='yes'">
<xsl:attribute name="onclick">javascript:Toggle('<xsl:value-of select="@name"/>')</xsl:attribute>
<xsl:attribute name="title"><xsl:value-of select="state/."/></xsl:attribute>
<xsl:attribute name="class">NA2</xsl:attribute>
- <xsl:value-of select="@name"/>
+ job
</a>
</xsl:when>
</xsl:choose>
<xsl:if test="not(remote_log_file_path/.='nothing') and state/.!='Not today'">
-
<a>
- <xsl:attribute name="title">remote log</xsl:attribute>
+ <xsl:attribute name="title">Begin : <xsl:value-of select="begin/."/>
End : <xsl:value-of select="end/."/> </xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="remote_log_file_path/."/></xsl:attribute>
<xsl:if test="res/.='0'">
<xsl:attribute name="class">OK2day</xsl:attribute>
/ <xsl:value-of select="port/."/>
</xsl:if>
</a>
- </xsl:if>
+ </xsl:if>
+ <xsl:if test="state/.='Not today'">
+ -
+ <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/history/link">
+ <xsl:sort select="@date" order="descending" />
+ <xsl:if test="@last='yes'">
+ <h4>
+ <a>
+ <xsl:attribute name="title">
+ <xsl:value-of select="concat(substring(@date, 7, 2), '/', substring(@date, 5, 2), '/', substring(@date,1,4))"/>
+ </xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+ <xsl:if test="@res='0'">
+ <xsl:attribute name="class">OK2</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@res!='0'">
+ <xsl:attribute name="class">KO2</xsl:attribute>
+ </xsl:if>
+ <xsl:value-of select="../../host"/>
+ </a>
+ </h4>
+ </xsl:if>
+ </xsl:for-each>
+ </xsl:if>
+ <!--Add the link to the tests if there is any -->
+ <xsl:if test="(test_log_file_path) and (test_log_file_path/*)">
+ -
+ <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/test_log_file_path/path">
+ <a>
+ <xsl:attribute name="title"><xsl:value-of select="@nb_fails"/> fails</xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+ <xsl:if test="@res='0'">
+ <xsl:attribute name="class">OK2day</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@res!='0'">
+ <xsl:attribute name="class">KO2day</xsl:attribute>
+ </xsl:if>
+ test
+ </a>
+ </xsl:for-each>
+ </xsl:if>
<br/>
<!-- get the missing jobs -->
<xsl:for-each select="//JobsReport/missing_jobs/job">
<xsl:if test="@distribution=$curr_distname and @application=$curr_appli">
- <xsl:attribute name="bgcolor">FFCCCC</xsl:attribute>
+ <xsl:attribute name="bgcolor">ffb8b8</xsl:attribute>
+ </xsl:if>
+ </xsl:for-each>
+ <!-- get the missing jobs not today -->
+ <xsl:for-each select="//JobsReport/missing_jobs_not_today/job">
+ <xsl:if test="@distribution=$curr_distname and @application=$curr_appli">
+ <xsl:attribute name="bgcolor">ffdbdb</xsl:attribute>
</xsl:if>
</xsl:for-each>
<br/>
<h4>User : </h4><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/user"/>
<br/>
- <!-- Display history -->
- <h4>History : </h4>
- <br/>
- <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/history/link">
- <h4>
- <a>
- <xsl:attribute name="title">remote log</xsl:attribute>
- <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
- <xsl:if test="@res='0'">
- <xsl:attribute name="class">OK2</xsl:attribute>
- </xsl:if>
- <xsl:if test="@res!='0'">
- <xsl:attribute name="class">KO2</xsl:attribute>
- </xsl:if>
- <xsl:value-of select="@date"/>
- </a>
- </h4>
- <br/>
- </xsl:for-each>
+ </xsl:if>
+ <!-- Display history -->
+ <h4>History : </h4>
+ <br/>
+ <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/history/link">
+ <xsl:sort select="@date" order="descending" />
+ <h4>
+ <a>
+ <xsl:attribute name="title">remote log</xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+ <xsl:if test="@res='0'">
+ <xsl:attribute name="class">OK2</xsl:attribute>
+ </xsl:if>
+ <xsl:if test="@res!='0'">
+ <xsl:attribute name="class">KO2</xsl:attribute>
+ </xsl:if>
+ <xsl:value-of select="@date"/>
+ </a>
+ </h4>
+ <br/>
+ </xsl:for-each>
+ <xsl:if test="//JobsReport/jobs/job[@name=$curr_job_name]/state!='Not today'">
<h4>salomeTools path : </h4><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/sat_path"/>
<br/>
<h4>After : </h4>
<tr>Extra job: <td> <xsl:attribute name="bgcolor">FFCCCC</xsl:attribute> Job name </td></tr>
</td>
</div>
+
+ <div style="display:none"><xsl:attribute name="id">history</xsl:attribute>
+ <xsl:for-each select="//JobsReport/history/link">
+ <xsl:sort select="@date" order="descending" />
+ <h4>
+ <a>
+ <xsl:attribute name="title">old board</xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+ <xsl:value-of select="@date"/>
+ </a>
+ </h4>
+ <br/>
+ </xsl:for-each>
+ </div>
</body>