Added support for CI Game plugin
Change-Id: I27497e8cd7d2c5c85de33a81f0bc6871bd1f1c00
This commit is contained in:
parent
bed596e8c6
commit
0d2cdf3e95
@ -1797,6 +1797,21 @@ def cifs(parser, xml_parent, data):
|
||||
plugin_reference_tag)
|
||||
|
||||
|
||||
def cigame(parser, xml_parent, data):
|
||||
"""yaml: cigame
|
||||
This plugin introduces a game where users get points
|
||||
for improving the builds.
|
||||
Requires the Jenkins `The Continuous Integration Game plugin.
|
||||
<https://wiki.jenkins-ci.org/display/JENKINS/
|
||||
The+Continuous+Integration+Game+plugin>`_
|
||||
|
||||
Example:
|
||||
|
||||
.. literalinclude:: /../../tests/publishers/fixtures/cigame.yaml
|
||||
"""
|
||||
XML.SubElement(xml_parent, 'hudson.plugins.cigame.GamePublisher')
|
||||
|
||||
|
||||
def sonar(parser, xml_parent, data):
|
||||
"""yaml: sonar
|
||||
Sonar plugin support.
|
||||
|
1
setup.py
1
setup.py
@ -135,6 +135,7 @@ setuptools.setup(
|
||||
'checkstyle=jenkins_jobs.modules.publishers:checkstyle',
|
||||
'campfire=jenkins_jobs.modules.publishers:campfire',
|
||||
'cifs=jenkins_jobs.modules.publishers:cifs',
|
||||
'cigame=jenkins_jobs.modules.publishers:cigame',
|
||||
'claim-build=jenkins_jobs.modules.publishers:claim_build',
|
||||
'clone-workspace=jenkins_jobs.modules.publishers:clone_workspace',
|
||||
'cloverphp=jenkins_jobs.modules.publishers:cloverphp',
|
||||
|
6
tests/publishers/fixtures/cigame.xml
Normal file
6
tests/publishers/fixtures/cigame.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project>
|
||||
<publishers>
|
||||
<hudson.plugins.cigame.GamePublisher/>
|
||||
</publishers>
|
||||
</project>
|
2
tests/publishers/fixtures/cigame.yaml
Normal file
2
tests/publishers/fixtures/cigame.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
publishers:
|
||||
- cigame
|
Loading…
Reference in New Issue
Block a user