Created
August 20, 2013 22:03
-
-
Save lacostej/6287937 to your computer and use it in GitHub Desktop.
Jenkins casperjs xunit incompatibility. Config.xml for test case job
This file contains 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></description> | |
<keepDependencies>false</keepDependencies> | |
<properties/> | |
<scm class="hudson.scm.NullSCM"/> | |
<canRoam>true</canRoam> | |
<disabled>false</disabled> | |
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> | |
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | |
<triggers/> | |
<concurrentBuild>false</concurrentBuild> | |
<builders> | |
<hudson.tasks.Shell> | |
<command>cat > log.xml << EOF | |
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites duration="3.859"> | |
<testsuite name="Checking the portal search for http://www.xxx.de/suche/jeans" tests="1" failures="0" errors="0" time="2.687" timestamp="2013-08-20T14:12:55.953Z" package="./execute_search_tests"> | |
<testcase name="Subject equals the expected value" classname="./execute_search_tests" time="2.687"></testcase> | |
<system-out></system-out> | |
</testsuite> | |
<testsuite name="Checking the portal search for http://www.xxx.de/suche/asjdfkshjkfhdsjkafhkjasd" tests="1" failures="0" errors="0" time="1.172" timestamp="2013-08-20T14:12:55.954Z" package="./execute_search_tests"> | |
<testcase name="Subject equals the expected value" classname="./execute_search_tests" time="1.172"></testcase> | |
<system-out></system-out> | |
</testsuite> | |
</testsuites> | |
EOF</command> | |
</hudson.tasks.Shell> | |
</builders> | |
<publishers> | |
<xunit plugin="xunit@1.61"> | |
<types> | |
<JUnitType> | |
<pattern>log.xml</pattern> | |
<skipNoTestFiles>true</skipNoTestFiles> | |
<failIfNotNew>false</failIfNotNew> | |
<deleteOutputFiles>true</deleteOutputFiles> | |
<stopProcessingIfError>true</stopProcessingIfError> | |
</JUnitType> | |
</types> | |
<thresholds> | |
<org.jenkinsci.plugins.xunit.threshold.FailedThreshold> | |
<unstableThreshold></unstableThreshold> | |
<unstableNewThreshold></unstableNewThreshold> | |
<failureThreshold></failureThreshold> | |
<failureNewThreshold></failureNewThreshold> | |
</org.jenkinsci.plugins.xunit.threshold.FailedThreshold> | |
<org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> | |
<unstableThreshold></unstableThreshold> | |
<unstableNewThreshold></unstableNewThreshold> | |
<failureThreshold></failureThreshold> | |
<failureNewThreshold></failureNewThreshold> | |
</org.jenkinsci.plugins.xunit.threshold.SkippedThreshold> | |
</thresholds> | |
<thresholdMode>1</thresholdMode> | |
</xunit> | |
</publishers> | |
<buildWrappers/> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment