15ee9899b8
Updated test cases as well, The tag has been introduced after 2.35.2 therefore the parameter is also >=2.35.2 Change-Id: Ie0801108a16969b420b341e2deaa6ba62deb116c Signed-off-by: Eren ATAS <eatas.contractor@libertyglobal.com>
93 lines
4.8 KiB
XML
93 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<publishers>
|
|
<hudson.plugins.parameterizedtrigger.BuildTrigger>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>foo=bar
|
|
bar=foo
|
|
</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
</configs>
|
|
<projects>other_job,foo,bar</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>BUILD_NUM=${BUILD_NUMBER}</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<hudson.plugins.git.GitRevisionBuildParameters>
|
|
<combineQueuedCommits>false</combineQueuedCommits>
|
|
</hudson.plugins.git.GitRevisionBuildParameters>
|
|
<hudson.plugins.parameterizedtrigger.FileBuildParameters>
|
|
<propertiesFile>version.prop</propertiesFile>
|
|
<failTriggerOnMissing>true</failTriggerOnMissing>
|
|
<textParamValueOnNewLine>true</textParamValueOnNewLine>
|
|
</hudson.plugins.parameterizedtrigger.FileBuildParameters>
|
|
</configs>
|
|
<projects>other_job1, other_job2</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>foo=bar</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<hudson.plugins.git.GitRevisionBuildParameters>
|
|
<combineQueuedCommits>true</combineQueuedCommits>
|
|
</hudson.plugins.git.GitRevisionBuildParameters>
|
|
<hudson.plugins.parameterizedtrigger.matrix.MatrixSubsetBuildParameters>
|
|
<filter>label=="x86"</filter>
|
|
</hudson.plugins.parameterizedtrigger.matrix.MatrixSubsetBuildParameters>
|
|
</configs>
|
|
<projects>yet_another_job</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
<name>foo</name>
|
|
<nodeLabel/>
|
|
</org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
</configs>
|
|
<projects>yet_another_job_2</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
<name/>
|
|
<nodeLabel>node-label-foo || node-label-bar</nodeLabel>
|
|
</org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
</configs>
|
|
<projects>yet_another_job_3</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.CurrentBuildParameters/>
|
|
<hudson.plugins.parameterizedtrigger.NodeParameters/>
|
|
</configs>
|
|
<projects>test-project-same-node</projects>
|
|
<condition>ALWAYS</condition>
|
|
<triggerFromChildProjects>false</triggerFromChildProjects>
|
|
<triggerWithNoParameters>false</triggerWithNoParameters>
|
|
</hudson.plugins.parameterizedtrigger.BuildTriggerConfig>
|
|
</configs>
|
|
</hudson.plugins.parameterizedtrigger.BuildTrigger>
|
|
</publishers>
|
|
</project>
|