Merge "Sort views list jobs"
This commit is contained in:
commit
d90320440c
@ -144,6 +144,7 @@ class List(jenkins_jobs.modules.base.Base):
|
||||
XML.SubElement(jn_xml, 'comparator', {'class':
|
||||
'hudson.util.CaseInsensitiveComparator'})
|
||||
if jobnames is not None:
|
||||
jobnames = sorted(jobnames) # Job names must be sorted in the xml
|
||||
for jobname in jobnames:
|
||||
XML.SubElement(jn_xml, 'string').text = str(jobname)
|
||||
|
||||
|
@ -5,8 +5,8 @@ filter-executors: true
|
||||
filter-queue: true
|
||||
job-name:
|
||||
- job-name-1
|
||||
- job-name-2
|
||||
- job-name-3
|
||||
- job-name-2
|
||||
columns:
|
||||
- status
|
||||
- weather
|
||||
|
Loading…
Reference in New Issue
Block a user