Fix link to findbugs minimal example
- Add minimal test - Rename full example test file to be more descriptive Change-Id: I8b32383895957ac8406649951b4bee08e42549e5 Signed-off-by: Kien Ha <kienha9922@gmail.com>
This commit is contained in:
parent
a88104422e
commit
d35ea35084
|
@ -1450,11 +1450,11 @@ def findbugs(parser, xml_parent, data):
|
||||||
|
|
||||||
Minimal Example:
|
Minimal Example:
|
||||||
|
|
||||||
.. literalinclude:: /../../tests/reporters/fixtures/findbugs-minimal.yaml
|
.. literalinclude:: /../../tests/publishers/fixtures/findbugs-minimal.yaml
|
||||||
|
|
||||||
Full Example:
|
Full Example:
|
||||||
|
|
||||||
.. literalinclude:: /../../tests/publishers/fixtures/findbugs01.yaml
|
.. literalinclude:: /../../tests/publishers/fixtures/findbugs-full.yaml
|
||||||
"""
|
"""
|
||||||
findbugs = XML.SubElement(xml_parent,
|
findbugs = XML.SubElement(xml_parent,
|
||||||
'hudson.plugins.findbugs.FindBugsPublisher')
|
'hudson.plugins.findbugs.FindBugsPublisher')
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<project>
|
||||||
|
<publishers>
|
||||||
|
<hudson.plugins.findbugs.FindBugsPublisher plugin="findbugs">
|
||||||
|
<isRankActivated>false</isRankActivated>
|
||||||
|
<includePattern/>
|
||||||
|
<excludePattern/>
|
||||||
|
<healthy/>
|
||||||
|
<unHealthy/>
|
||||||
|
<thresholdLimit>low</thresholdLimit>
|
||||||
|
<pluginName>[FINDBUGS] </pluginName>
|
||||||
|
<defaultEncoding/>
|
||||||
|
<canRunOnFailed>false</canRunOnFailed>
|
||||||
|
<useStableBuildAsReference>false</useStableBuildAsReference>
|
||||||
|
<usePreviousBuildAsReference>false</usePreviousBuildAsReference>
|
||||||
|
<useDeltaValues>false</useDeltaValues>
|
||||||
|
<thresholds>
|
||||||
|
<unstableTotalAll/>
|
||||||
|
<unstableTotalHigh/>
|
||||||
|
<unstableTotalNormal/>
|
||||||
|
<unstableTotalLow/>
|
||||||
|
<failedTotalAll/>
|
||||||
|
<failedTotalHigh/>
|
||||||
|
<failedTotalNormal/>
|
||||||
|
<failedTotalLow/>
|
||||||
|
</thresholds>
|
||||||
|
<shouldDetectModules>false</shouldDetectModules>
|
||||||
|
<dontComputeNew>true</dontComputeNew>
|
||||||
|
<doNotResolveRelativePaths>false</doNotResolveRelativePaths>
|
||||||
|
<pattern/>
|
||||||
|
</hudson.plugins.findbugs.FindBugsPublisher>
|
||||||
|
</publishers>
|
||||||
|
</project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
publishers:
|
||||||
|
- findbugs
|
Loading…
Reference in New Issue