Created
November 29, 2011 10:01
-
-
Save abtris/1404250 to your computer and use it in GitHub Desktop.
template.xsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8'?> | |
| <project> | |
| <actions/> | |
| <description>LMC_TEST_ENV=<b>devel.lmc.cz</b></br>
 | |
| SQUISH_TERM=<b>termdevel.ad.lmc.cz</b></br>
 | |
| SQUISH_PORT=<b>4338</b></br>
 | |
| <i>1 8-23 * * *</i></br></description> | |
| <logRotator> | |
| <daysToKeep>8</daysToKeep> | |
| <numToKeep>40</numToKeep> | |
| <artifactDaysToKeep>-1</artifactDaysToKeep> | |
| <artifactNumToKeep>-1</artifactNumToKeep> | |
| </logRotator> | |
| <keepDependencies>false</keepDependencies> | |
| <properties> | |
| <hudson.plugins.throttleconcurrents.ThrottleJobProperty> | |
| <maxConcurrentPerNode>0</maxConcurrentPerNode> | |
| <maxConcurrentTotal>0</maxConcurrentTotal> | |
| <throttleEnabled>false</throttleEnabled> | |
| </hudson.plugins.throttleconcurrents.ThrottleJobProperty> | |
| <com.nirima.AdaptivePluginProperty> | |
| <script></script> | |
| </com.nirima.AdaptivePluginProperty> | |
| <hudson.plugins.googlecode.GoogleCodeProjectProperty/> | |
| </properties> | |
| <scm class="hudson.plugins.git.GitSCM"> | |
| <configVersion>2</configVersion> | |
| <userRemoteConfigs> | |
| <hudson.plugins.git.UserRemoteConfig> | |
| <name>origin</name> | |
| <refspec>+refs/heads/*:refs/remotes/origin/*</refspec> | |
| <url>ssh://git@git.int.lmc.cz/QA.git</url> | |
| </hudson.plugins.git.UserRemoteConfig> | |
| </userRemoteConfigs> | |
| <branches> | |
| <hudson.plugins.git.BranchSpec> | |
| <name>origin/CJD_PJD-fix</name> | |
| </hudson.plugins.git.BranchSpec> | |
| </branches> | |
| <recursiveSubmodules>false</recursiveSubmodules> | |
| <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | |
| <authorOrCommitter>false</authorOrCommitter> | |
| <clean>true</clean> | |
| <wipeOutWorkspace>true</wipeOutWorkspace> | |
| <pruneBranches>true</pruneBranches> | |
| <remotePoll>false</remotePoll> | |
| <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/> | |
| <gitTool>git</gitTool> | |
| <browser class="hudson.plugins.git.browser.GitWeb"> | |
| <url>http://git.int.lmc.cz/?p=QA.git</url> | |
| </browser> | |
| <submoduleCfg class="list"/> | |
| <relativeTargetDir></relativeTargetDir> | |
| <excludedRegions></excludedRegions> | |
| <excludedUsers></excludedUsers> | |
| <gitConfigName></gitConfigName> | |
| <gitConfigEmail></gitConfigEmail> | |
| <skipTag>true</skipTag> | |
| <scmName></scmName> | |
| </scm> | |
| <canRoam>true</canRoam> | |
| <disabled>false</disabled> | |
| <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
| <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
| <triggers class="vector"> | |
| <hudson.triggers.TimerTrigger> | |
| <spec>1 8-22 * * *</spec> | |
| </hudson.triggers.TimerTrigger> | |
| </triggers> | |
| <concurrentBuild>false</concurrentBuild> | |
| <builders> | |
| <hudson.tasks.Shell> | |
| <command>export DISPLAY=:89 | |
| /usr/bin/Xvfb $DISPLAY -screen 0 1900x1000x24 2>&1 >/dev/null & | |
| sleep 8 | |
| python ${TOOLS}/run_tests.py --browser $BR $TS $TS2 --terminal=$SQUISH_TERM --sleeptime=4 | |
| kill %1 | |
| sleep 6</command> | |
| </hudson.tasks.Shell> | |
| </builders> | |
| <publishers> | |
| <htmlpublisher.HtmlPublisher> | |
| <reportTargets> | |
| <htmlpublisher.HtmlPublisherTarget> | |
| <reportName>HTML Report</reportName> | |
| <reportDir>TestReports</reportDir> | |
| <reportFiles>index.html</reportFiles> | |
| <keepAll>true</keepAll> | |
| <wrapperName>htmlpublisher-wrapper.html</wrapperName> | |
| </htmlpublisher.HtmlPublisherTarget> | |
| </reportTargets> | |
| </htmlpublisher.HtmlPublisher> | |
| </publishers> | |
| <buildWrappers> | |
| <hudson.plugins.ws__cleanup.PreBuildCleanup/> | |
| <hudson.plugins.setenv.SetEnvBuildWrapper> | |
| <localVarText># tyhle promenne nastavte podle sebe | |
| LMC_TEST_ENV=devel.lmc.cz | |
| SQUISH_TERM=termdevel.ad.lmc.cz | |
| SQUISH_PORT=4338 | |
| TS_DIR=${WORKSPACE}/tests/G2NAS/Sprava-pozic-a-vystaveni-inzeratu | |
| TS=${TS_DIR}/suite_prefabJD | |
| TS2=${TS_DIR}/suite_VystaveniPozice_faze0 | |
| BR=firefox | |
| # | |
| # -- tyhle nemenit: | |
| SQUISH=/srv/app/squish/latest/bin | |
| TOOLS=${WORKSPACE}/tests/_tools | |
| SQUISH_TEMP_DIR=${WORKSPACE}/temp | |
| PYTHONPATH=${WORKSPACE}/tests/_components</localVarText> | |
| </hudson.plugins.setenv.SetEnvBuildWrapper> | |
| </buildWrappers> | |
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:output method="html" omit-xml-declaration="yes"/> | |
| <xsl:template match="/"> | |
| <h2> | |
| <xsl:value-of select="//hudson.triggers.TimerTrigger/spec"/> | |
| </h2> | |
| </xsl:template> | |
| </xsl:stylesheet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xsltproc template.xsl config.xml >test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment