Fix duplicated actions field in XML for folders

Change-Id: I9638dda0c31dfd70ffe8fcfc9eecc260bb326f61
This commit is contained in:
Marco Nenciarini 2017-11-06 11:58:01 +01:00 committed by Sorin Sbarnea
parent 673523e2c3
commit ca5d12627f
3 changed files with 0 additions and 3 deletions

View File

@ -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)

View File

@ -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"/>

View File

@ -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"/>