Fix duplicated actions field in XML for folders
Change-Id: I9638dda0c31dfd70ffe8fcfc9eecc260bb326f61
This commit is contained in:
parent
673523e2c3
commit
ca5d12627f
@ -44,7 +44,6 @@ class Folder(jenkins_jobs.modules.base.Base):
|
||||
def root_xml(self, data):
|
||||
xml_parent = XML.Element('com.cloudbees.hudson.plugins.folder.Folder',
|
||||
plugin="cloudbees-folder")
|
||||
XML.SubElement(xml_parent, 'actions')
|
||||
attributes = {"class": "com.cloudbees.hudson.plugins.folder."
|
||||
"icons.StockFolderIcon"}
|
||||
XML.SubElement(xml_parent, 'icon', attrib=attributes)
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder">
|
||||
<actions/>
|
||||
<icon class="com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon"/>
|
||||
<views/>
|
||||
<viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.cloudbees.hudson.plugins.folder.Folder plugin="cloudbees-folder">
|
||||
<actions/>
|
||||
<icon class="com.cloudbees.hudson.plugins.folder.icons.StockFolderIcon"/>
|
||||
<views/>
|
||||
<viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
|
||||
|
Loading…
Reference in New Issue
Block a user