Re: Help with the htmlemail publisher.
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Take a look at the xsl from CruiseControl! :)
Below is something modified from header.xsl
Jtf
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:lxslt="http://xml.apache.org/xslt">
<xsl:output method="html"/>
<xsl:template match="/" mode="mycustomtext">
<h1>Here is my custom text in HTML</h1>
</xsl:template>
<xsl:template match="/">
<xsl:apply-templates select="." mode="mycustomtext"/>
</xsl:template>
</xsl:stylesheet>
On Tue, Nov 9, 2010 at 1:13 PM, Ginter, Richard D <
[email protected]> wrote:
> I have what may be a rather silly question for some people here.
>
>
>
> I have gotten a Cruise Control installation working and performing
> automated builds for the workgroup I’m a part of. The issue I’m having is
> that I want to add some static text to the E-mail that is sent out upon the
> completion of a build. What I need to do is to add some text and a network
> address to the place where the server copies up the completed build files so
> my co-workers can download them.
>
>
>
> Something along the lines of “To retrieve the files for your development
> environment go to //server/share/path.” This would be a static bit of text
> and a static link and would not change between builds.
>
>
>
> I know that the htmlemail can have additional xsl style sheets added to it,
> but I have absolutely zero experience in xsl. Does anyone have a good
> example of doing something like that with xsl? I’ve been looking online and
> so far I haven’t found a good example that I could use as a base.
>
>
>
> Thanks!
>
>
>
> --Richard
>
>
--
CITCON
Continuous Integration and Testing Conference
http://www.citconf.com/
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user