Adding 'pipeline' publisher to enable the build pipeline plugin
Change-Id: I0ab567c07c5acd7408d7662ea75dd8513a58888e Reviewed-on: https://review.openstack.org/12792 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
c10f3dbb58
commit
6ac3c5087b
@ -256,6 +256,10 @@ def scp(parser, xml_parent, data):
|
||||
else:
|
||||
XML.SubElement(entry_e, 'copyAfterFailure').text = 'false'
|
||||
|
||||
def pipeline(parser, xml_parent, data):
|
||||
pippub = XML.SubElement(xml_parent,
|
||||
'au.com.centrumsystems.hudson.plugin.buildpipeline.trigger.BuildPipelineTrigger')
|
||||
XML.SubElement(pippub, 'downstreamProjectNames').text = data
|
||||
|
||||
class Publishers(jenkins_jobs.modules.base.Base):
|
||||
sequence = 70
|
||||
|
1
setup.py
1
setup.py
@ -62,6 +62,7 @@ setup(name='jenkins_job_builder',
|
||||
'junit=jenkins_jobs.modules.publishers:junit',
|
||||
'violations=jenkins_jobs.modules.publishers:violations',
|
||||
'scp=jenkins_jobs.modules.publishers:scp',
|
||||
'pipeline=jenkins_jobs.modules.publishers:pipeline',
|
||||
],
|
||||
'jenkins_jobs.scm': [
|
||||
'git=jenkins_jobs.modules.scm:git',
|
||||
|
Loading…
Reference in New Issue
Block a user