summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/project_workflow_template001.xml
diff options
context:
space:
mode:
authorDavid Caro <dcaroest@redhat.com>2015-11-20 17:31:52 +0100
committerDavid Caro <dcaroest@redhat.com>2015-11-24 21:18:45 +0100
commit9477275592f722892b22afe336940bf296302906 (patch)
treee3a851d3bccedf8e2e4ffdba7c8d905fca32a9b4 /tests/yamlparser/fixtures/project_workflow_template001.xml
parent294dea66b23c40e3af6094b92c4c6e964cadbed5 (diff)
downloadpython-jenkins-job-builder-9477275592f722892b22afe336940bf296302906.tar.gz
python-jenkins-job-builder-9477275592f722892b22afe336940bf296302906.tar.xz
python-jenkins-job-builder-9477275592f722892b22afe336940bf296302906.zip
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>
Diffstat (limited to 'tests/yamlparser/fixtures/project_workflow_template001.xml')
-rw-r--r--tests/yamlparser/fixtures/project_workflow_template001.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/project_workflow_template001.xml b/tests/yamlparser/fixtures/project_workflow_template001.xml
new file mode 100644
index 00000000..f82dbe50
--- /dev/null
+++ b/tests/yamlparser/fixtures/project_workflow_template001.xml
@@ -0,0 +1,25 @@
+<?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>