App-JenkinsCli

 view release on metacpan or  search on metacpan

example/timeout.xsl  view on Meta::CPAN

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>

    <xsl:template match="/">
        <xsl:apply-templates />
    </xsl:template>

    <!-- Change the value of the build timeout -->
    <xsl:template match="//project/buildWrappers/hudson.plugins.build__timeout.BuildTimeoutWrapper/strategy/timeoutMinutes/text()">3</xsl:template>

    <!-- identity template -->
    <xsl:template match="@*|node()">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
    </xsl:template>
</xsl:stylesheet>



( run in 0.837 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )