jenkins-job-builder/tests/yamlparser/fixtures/project_workflow_template001.xml
David Caro 9477275592 Added support for the workflow job type
There's a relatively new workflow plugin, based on the old build flow
one

Change-Id: I5541443e15335839754afee59f1b74ed29ce6676
Signed-off-by: David Caro <dcaroest@redhat.com>
2015-11-24 21:18:45 +01:00

26 lines
853 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flow-definition plugin="workflow-job">
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="workflow-cps">
<script>build job: &quot;job1&quot;
parallel [
2a: build job: &quot;job2a&quot;,
2b: node &quot;dummynode&quot; {
sh &quot;echo I'm alive!&quot;
}
]
</script>
<sandbox>false</sandbox>
</definition>
<actions/>
<description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
<keepDependencies>false</keepDependencies>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<concurrentBuild>false</concurrentBuild>
<canRoam>true</canRoam>
<properties/>
<scm class="hudson.scm.NullSCM"/>
<publishers/>
<buildWrappers/>
</flow-definition>