Removed the unnecessary empty combinationFilter Tag
In the current implementation, jjb creates an empty combinationFilter tag whenever there is `executionStrategy`. This empty tag should not appear. Change-Id: I2bf25ae58d12904ce0a00e0a5cfefbf27d9451ad Signed-off-by: Eren ATAS <eatas.contractor@libertyglobal.com>
This commit is contained in:
parent
28e43831e9
commit
2e84bdf5b6
@ -162,9 +162,10 @@ class Matrix(jenkins_jobs.modules.base.Base):
|
||||
strategy = data.get(strategy_name, {})
|
||||
|
||||
if strategy_name == "execution-strategy":
|
||||
XML.SubElement(root, "combinationFilter").text = str(
|
||||
strategy.get("combination-filter", "")
|
||||
).rstrip()
|
||||
if "combination-filter" in strategy:
|
||||
XML.SubElement(root, "combinationFilter").text = str(
|
||||
strategy.get("combination-filter", "")
|
||||
).rstrip()
|
||||
XML.SubElement(ex_r, "runSequentially").text = str(
|
||||
strategy.get("sequential", False)
|
||||
).lower()
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes/>
|
||||
<actions/>
|
||||
<description><!-- Managed by Jenkins Job Builder --></description>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes/>
|
||||
<actions/>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<org.jenkinsci.plugins.yamlaxis.YamlAxis>
|
||||
<name>python</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis>
|
||||
<name>config</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis>
|
||||
<name>config</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<jenkins.plugins.shiningpanda.matrix.PythonAxis>
|
||||
<name>PYTHON</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.JDKAxis>
|
||||
<name>jdk</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis>
|
||||
<name>config</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes/>
|
||||
<actions/>
|
||||
<keepDependencies>false</keepDependencies>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes/>
|
||||
<buildWrappers>
|
||||
<matrixtieparent.BuildWrapperMtp>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>distribution</name>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>PLATFORM</name>
|
||||
@ -32,7 +31,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>PLATFORM</name>
|
||||
@ -61,7 +59,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>PLATFORM</name>
|
||||
|
@ -9,7 +9,6 @@
|
||||
<color>BLUE</color>
|
||||
</touchStoneResultCondition>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes/>
|
||||
<actions/>
|
||||
<description><!-- Managed by Jenkins Job Builder --></description>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>foo_bar</name>
|
||||
@ -45,7 +44,6 @@
|
||||
<executionStrategy class="hudson.matrix.DefaultMatrixExecutionStrategyImpl">
|
||||
<runSequentially>false</runSequentially>
|
||||
</executionStrategy>
|
||||
<combinationFilter/>
|
||||
<axes>
|
||||
<hudson.matrix.TextAxis>
|
||||
<name>foo_bar</name>
|
||||
|
Loading…
Reference in New Issue
Block a user