Fix wrong casing in JDKAxis <name> tag
If value is written in uppercase letters, Jenkins converts it to lowercase the next time the job configuration is saved. <hudson.matrix.JDKAxis> <name>JDK</name> is changed to: <hudson.matrix.JDKAxis> <name>jdk</name> As a result build URLs will change: http://host/job/matrix_build/JDK=Java-7/1/ to: http://host/job/matrix_build/jdk=Java-7/2/ Change-Id: Ia3018327c6dbffb2bb828dcc494559e57a1b6ad8
This commit is contained in:
parent
de2b287d6d
commit
9d57c4c47f
@ -177,7 +177,7 @@ class Matrix(jenkins_jobs.modules.base.Base):
|
||||
lbl_root = XML.SubElement(ax_root, axis_name)
|
||||
name, values = axis.get('name', ''), axis.get('values', [''])
|
||||
if axis_type == 'jdk':
|
||||
XML.SubElement(lbl_root, 'name').text = 'JDK'
|
||||
XML.SubElement(lbl_root, 'name').text = 'jdk'
|
||||
elif axis_type == 'python':
|
||||
XML.SubElement(lbl_root, 'name').text = 'PYTHON'
|
||||
elif axis_type == 'tox':
|
||||
|
@ -6,7 +6,7 @@
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.JDKAxis>
|
||||
<name>JDK</name>
|
||||
<name>jdk</name>
|
||||
<values>
|
||||
<string>openjdk-6-jdk</string>
|
||||
<string>openjdk-7-jdk</string>
|
||||
|
Loading…
Reference in New Issue
Block a user