summaryrefslogtreecommitdiffstats
path: root/tests/publishers/fixtures/checkstyle001.xml
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-04-05 21:27:23 +0200
committerAntoine Musso <hashar@free.fr>2014-04-07 10:29:52 +0200
commitfc776f009abe3994f1878f4642d7a49801cfa0ce (patch)
treef6c83263726d4b18e5c163ec003d3b6d92670daa /tests/publishers/fixtures/checkstyle001.xml
parent3ddbf020e0f90886f078d6618fd74101cc6bf025 (diff)
downloadpython-jenkins-job-builder-fc776f009abe3994f1878f4642d7a49801cfa0ce.tar.gz
python-jenkins-job-builder-fc776f009abe3994f1878f4642d7a49801cfa0ce.tar.xz
python-jenkins-job-builder-fc776f009abe3994f1878f4642d7a49801cfa0ce.zip
Tests for checkstyle publisher
Should be straightforward, the publisher checkstyle simply lacked tests. Also make use of literal include for the examples. Change-Id: I000cdee47bb0938af9f327bcaba06b87f8287739
Diffstat (limited to 'tests/publishers/fixtures/checkstyle001.xml')
-rw-r--r--tests/publishers/fixtures/checkstyle001.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/publishers/fixtures/checkstyle001.xml b/tests/publishers/fixtures/checkstyle001.xml
new file mode 100644
index 00000000..ac3edc2a
--- /dev/null
+++ b/tests/publishers/fixtures/checkstyle001.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <publishers>
+ <hudson.plugins.checkstyle.CheckStylePublisher>
+ <healthy/>
+ <unHealthy>100</unHealthy>
+ <thresholdLimit>high</thresholdLimit>
+ <pluginName>[CHECKSTYLE] </pluginName>
+ <defaultEncoding/>
+ <canRunOnFailed>false</canRunOnFailed>
+ <useStableBuildAsReference>false</useStableBuildAsReference>
+ <useDeltaValues>false</useDeltaValues>
+ <thresholds>
+ <unstableTotalAll/>
+ <unstableTotalHigh>10</unstableTotalHigh>
+ <unstableTotalNormal/>
+ <unstableTotalLow/>
+ <failedTotalAll/>
+ <failedTotalHigh>1</failedTotalHigh>
+ <failedTotalNormal/>
+ <failedTotalLow/>
+ </thresholds>
+ <shouldDetectModules>false</shouldDetectModules>
+ <dontComputeNew>true</dontComputeNew>
+ <doNotResolveRelativePaths>false</doNotResolveRelativePaths>
+ <pattern>**/checkstyle-result.xml</pattern>
+ </hudson.plugins.checkstyle.CheckStylePublisher>
+ </publishers>
+</project>