Added support for CI Game plugin

Change-Id: I27497e8cd7d2c5c85de33a81f0bc6871bd1f1c00
This commit is contained in:
Kei YAMAZAKI 2014-03-10 15:11:59 +09:00
parent bed596e8c6
commit 0d2cdf3e95
4 changed files with 24 additions and 0 deletions

View File

@ -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.

View File

@ -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',

View File

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

View File

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