586baf80db
ALWAYS is a valid continuation condition in Multijob plugin Change-Id: I2e2e488b5172b0a182e2fc1d59313d007da61462 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
79 lines
3.6 KiB
XML
79 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<builders>
|
|
<com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
<phaseName>PhaseOne</phaseName>
|
|
<continuationCondition>SUCCESSFUL</continuationCondition>
|
|
<phaseJobs>
|
|
<com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<jobName>PhaseOneJobA</jobName>
|
|
<currParams>true</currParams>
|
|
<configs>
|
|
<org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
<name>vm_name</name>
|
|
<nodeLabel>agent-${BUILD_NUMBER}</nodeLabel>
|
|
</org.jvnet.jenkins.plugins.nodelabelparameter.parameterizedtrigger.NodeLabelBuildParameter>
|
|
<hudson.plugins.git.GitRevisionBuildParameters>
|
|
<combineQueuedCommits>false</combineQueuedCommits>
|
|
</hudson.plugins.git.GitRevisionBuildParameters>
|
|
</configs>
|
|
<abortAllJob>true</abortAllJob>
|
|
</com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<jobName>PhaseOneJobB</jobName>
|
|
<currParams>true</currParams>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.FileBuildParameters>
|
|
<propertiesFile>build.props</propertiesFile>
|
|
<failTriggerOnMissing>true</failTriggerOnMissing>
|
|
</hudson.plugins.parameterizedtrigger.FileBuildParameters>
|
|
</configs>
|
|
<abortAllJob>false</abortAllJob>
|
|
</com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
</phaseJobs>
|
|
</com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
<com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
<phaseName>PhaseTwo</phaseName>
|
|
<continuationCondition>UNSTABLE</continuationCondition>
|
|
<phaseJobs>
|
|
<com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<jobName>PhaseTwoJobA</jobName>
|
|
<currParams>true</currParams>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
<properties>foo=bar</properties>
|
|
</hudson.plugins.parameterizedtrigger.PredefinedBuildParameters>
|
|
</configs>
|
|
<abortAllJob>false</abortAllJob>
|
|
</com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<jobName>PhaseTwoJobB</jobName>
|
|
<currParams>false</currParams>
|
|
<configs>
|
|
<hudson.plugins.parameterizedtrigger.matrix.MatrixSubsetBuildParameters>
|
|
<filter>JVM_VARIANT == "server"</filter>
|
|
</hudson.plugins.parameterizedtrigger.matrix.MatrixSubsetBuildParameters>
|
|
</configs>
|
|
<abortAllJob>false</abortAllJob>
|
|
<enableCondition>true</enableCondition>
|
|
<condition>${BUILDNUMBER} % 2 == 1</condition>
|
|
<killPhaseOnJobResultCondition>UNSTABLE</killPhaseOnJobResultCondition>
|
|
</com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
</phaseJobs>
|
|
</com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
<com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
<phaseName>PhaseThree</phaseName>
|
|
<continuationCondition>ALWAYS</continuationCondition>
|
|
<phaseJobs>
|
|
<com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
<jobName>PhaseThreeJobA</jobName>
|
|
<currParams>true</currParams>
|
|
<configs/>
|
|
<abortAllJob>false</abortAllJob>
|
|
<killPhaseOnJobResultCondition>FAILURE</killPhaseOnJobResultCondition>
|
|
</com.tikal.jenkins.plugins.multijob.PhaseJobsConfig>
|
|
</phaseJobs>
|
|
</com.tikal.jenkins.plugins.multijob.MultiJobBuilder>
|
|
</builders>
|
|
</project>
|