Added support for Emotional Jenkins
Change-Id: Icaac9cc07b64384b3d65234bf9c603ef55f0b104
This commit is contained in:
parent
9a45f1c0b5
commit
2cc3c83e75
@ -77,6 +77,21 @@ def archive(parser, xml_parent, data):
|
||||
latest.text = 'false'
|
||||
|
||||
|
||||
def emotional_jenkins(parser, xml_parent, data):
|
||||
"""yaml: emotional-jenkins
|
||||
Emotional Jenkins.
|
||||
Requires the Jenkins `Emotional Jenkins Plugin.
|
||||
<https://wiki.jenkins-ci.org/display/JENKINS/Emotional+Jenkins+Plugin>`_
|
||||
|
||||
Example:
|
||||
|
||||
.. literalinclude:: ../../tests/publishers/fixtures/emotional-jenkins.yaml
|
||||
"""
|
||||
XML.SubElement(xml_parent,
|
||||
'org.jenkinsci.plugins.emotional__jenkins.'
|
||||
'EmotionalJenkinsPublisher')
|
||||
|
||||
|
||||
def trigger_parameterized_builds(parser, xml_parent, data):
|
||||
"""yaml: trigger-parameterized-builds
|
||||
Trigger parameterized builds of other jobs.
|
||||
|
2
setup.py
2
setup.py
@ -130,6 +130,8 @@ setuptools.setup(
|
||||
'cppcheck=jenkins_jobs.modules.publishers:cppcheck',
|
||||
'email=jenkins_jobs.modules.publishers:email',
|
||||
'email-ext=jenkins_jobs.modules.publishers:email_ext',
|
||||
('emotional-jenkins=jenkins_jobs.modules.publishers:'
|
||||
'emotional_jenkins'),
|
||||
'fingerprint=jenkins_jobs.modules.publishers:fingerprint',
|
||||
'ftp=jenkins_jobs.modules.publishers:ftp',
|
||||
'git=jenkins_jobs.modules.publishers:git',
|
||||
|
6
tests/publishers/fixtures/emotional-jenkins.xml
Normal file
6
tests/publishers/fixtures/emotional-jenkins.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" ?>
|
||||
<project>
|
||||
<publishers>
|
||||
<org.jenkinsci.plugins.emotional__jenkins.EmotionalJenkinsPublisher/>
|
||||
</publishers>
|
||||
</project>
|
2
tests/publishers/fixtures/emotional-jenkins.yaml
Normal file
2
tests/publishers/fixtures/emotional-jenkins.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
publishers:
|
||||
- emotional-jenkins
|
Loading…
Reference in New Issue
Block a user