Update sitemonitor plugin
- update test cases Change-Id: I2ebeadf7a597a084787554f17e457c4db074f264
This commit is contained in:
parent
3e61b46f6e
commit
008f53e40d
|
@ -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')
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<publishers>
|
||||
<hudson.plugins.sitemonitor.SiteMonitorRecorder/>
|
||||
</publishers>
|
||||
</project>
|
|
@ -0,0 +1,2 @@
|
|||
publishers:
|
||||
- sitemonitor
|
Loading…
Reference in New Issue