Hi everyone,
I upgraded from CCNET 1.5.7 to the latest 1.8.5 version.
There is still one issue that I did not manage to tackle.
In a project, I do specflow/selenium tests that create an html file, which
is copied to the Artifact directory in the publisher. This html file is
then displayed in the dashboard.
With the previous version, the artifact build directory was the build label
(I use the default labeller with incrementOnFailure) but since I upgraded
the artifact directory is the date :
* before migrating = /Artifacts/15/TestResults.html
* after = /Artifacts/20141103161555/TestResults.html
How can I change the artifact build directory name? Or is there any way to
get the date string in xsl to include the html in the dashboard?
Regards,
Benjamin
PS : Here is my xsl code to include the html file in the dashboard
<xsl:if
test="contains(//cruisecontrol/parameters/parameter[@name='$CCNetProject']/@value,'Specflow')">
<!-- compile.xsl hack-->
<xsl:variable name="buildNb"
select="//cruisecontrol/parameters/parameter[@name='$CCNetLabel']/@value" />
<div style="text-align:right; margin:5px; width:100%;">
<a
href="RetrieveBuildFile.aspx?file=../{$buildNb}/TestResult.html"
target="_blank">View this report in its own window</a>
</div>
<div>
<iframe
src="RetrieveBuildFile.aspx?file=../{$buildNb}/TestResult.html" border="1"
width="100%" height="1000"></iframe>
</div>
<!-- /hack-->
</xsl:if>
--
---
You received this message because you are subscribed to the Google Groups
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.