Add copyartifact builder to entry points and fix target attribute
Fixes bug #1080824 Change-Id: Ie5043283bf8c0f13f04d250c4c7299596d766508 Reviewed-on: https://review.openstack.org/16454 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
This commit is contained in:
parent
e4adf8fbcf
commit
b3e5247bf0
@ -83,7 +83,7 @@ def copyartifact(parser, xml_parent, data):
|
||||
t = XML.SubElement(xml_parent, 'hudson.plugins.copyartifact.CopyArtifact')
|
||||
XML.SubElement(t, 'projectName').text = data["project"]
|
||||
XML.SubElement(t, 'filter').text = data.get("filter", "")
|
||||
XML.SubElement(t, 'target').text = data.get("project", "")
|
||||
XML.SubElement(t, 'target').text = data.get("target", "")
|
||||
|
||||
|
||||
def ant(parser, xml_parent, data):
|
||||
|
1
setup.py
1
setup.py
@ -59,6 +59,7 @@ setuptools.setup(
|
||||
'builders-from=jenkins_jobs.modules.builders:builders_from',
|
||||
'inject=jenkins_jobs.modules.builders:inject',
|
||||
'artifact-resolver=jenkins_jobs.modules.builders:artifact_resolver',
|
||||
'copyartifact=jenkins_jobs.modules.builders:copyartifact',
|
||||
],
|
||||
'jenkins_jobs.reporters': [
|
||||
'email=jenkins_jobs.modules.reporters:email',
|
||||
|
Loading…
x
Reference in New Issue
Block a user