diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py index c3148f759..9a6eae369 100644 --- a/jenkins_jobs/modules/publishers.py +++ b/jenkins_jobs/modules/publishers.py @@ -1450,11 +1450,11 @@ def findbugs(parser, xml_parent, data): Minimal Example: - .. literalinclude:: /../../tests/reporters/fixtures/findbugs-minimal.yaml + .. literalinclude:: /../../tests/publishers/fixtures/findbugs-minimal.yaml Full Example: - .. literalinclude:: /../../tests/publishers/fixtures/findbugs01.yaml + .. literalinclude:: /../../tests/publishers/fixtures/findbugs-full.yaml """ findbugs = XML.SubElement(xml_parent, 'hudson.plugins.findbugs.FindBugsPublisher') diff --git a/tests/publishers/fixtures/findbugs01.xml b/tests/publishers/fixtures/findbugs-full.xml similarity index 100% rename from tests/publishers/fixtures/findbugs01.xml rename to tests/publishers/fixtures/findbugs-full.xml diff --git a/tests/publishers/fixtures/findbugs01.yaml b/tests/publishers/fixtures/findbugs-full.yaml similarity index 100% rename from tests/publishers/fixtures/findbugs01.yaml rename to tests/publishers/fixtures/findbugs-full.yaml diff --git a/tests/publishers/fixtures/findbugs-minimal.xml b/tests/publishers/fixtures/findbugs-minimal.xml new file mode 100644 index 000000000..26fe836dc --- /dev/null +++ b/tests/publishers/fixtures/findbugs-minimal.xml @@ -0,0 +1,33 @@ + + + + + false + + + + + low + [FINDBUGS] + + false + false + false + false + + + + + + + + + + + false + true + false + + + + diff --git a/tests/publishers/fixtures/findbugs-minimal.yaml b/tests/publishers/fixtures/findbugs-minimal.yaml new file mode 100644 index 000000000..7d24120d0 --- /dev/null +++ b/tests/publishers/fixtures/findbugs-minimal.yaml @@ -0,0 +1,2 @@ +publishers: + - findbugs