Update sitemonitor plugin

- update test cases

Change-Id: I2ebeadf7a597a084787554f17e457c4db074f264
This commit is contained in:
Dong Ma 2017-06-29 23:30:38 +08:00
parent 3e61b46f6e
commit 008f53e40d
5 changed files with 17 additions and 3 deletions

View File

@ -4646,10 +4646,16 @@ def sitemonitor(registry, xml_parent, data):
:arg list sites: List of URLs to check
Example:
Minimal Example:
.. literalinclude:: /../../tests/publishers/fixtures/sitemonitor001.yaml
:language: yaml
.. literalinclude::
/../../tests/publishers/fixtures/sitemonitor-minimal.yaml
:language: yaml
Full Example:
.. literalinclude:: /../../tests/publishers/fixtures/sitemonitor-full.yaml
:language: yaml
"""
mon = XML.SubElement(xml_parent,
'hudson.plugins.sitemonitor.SiteMonitorRecorder')

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<hudson.plugins.sitemonitor.SiteMonitorRecorder/>
</publishers>
</project>

View File

@ -0,0 +1,2 @@
publishers:
- sitemonitor