Fixing svn-tags to work correctly

It was discovered that when using svn-tags functionality that when
you go to build the list is not populated.  If you just saved the job
in Jenkins then it would work correctly.  It was determined that the
<uuid> tag was missing and this was needed for the parameter to work.
In testing it was found that simply putting <uuid>1-1-1-1-1</uuid> into
the config would make the svn-tags functionality work like expected.
This is a one line change to add the uuid element set to 1-1-1-1-1

Change-Id: Iea1c27ebc9aa7c17f4f390c375989240c1941ce0
Reviewed-on: https://review.openstack.org/21809
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Will Soula 2013-02-12 12:38:30 -06:00 committed by Jenkins
parent d0a0484594
commit 7a5cbdbb7a

View File

@ -238,6 +238,7 @@ def svn_tags_param(parser, xml_parent, data):
XML.SubElement(pdef, 'reverseByDate').text = "true"
XML.SubElement(pdef, 'reverseByName').text = "false"
XML.SubElement(pdef, 'maxTags').text = "100"
XML.SubElement(pdef, 'uuid').text = "1-1-1-1-1"
class Parameters(jenkins_jobs.modules.base.Base):