diff options
author | David Caro <dcaroest@redhat.com> | 2015-11-20 17:31:52 +0100 |
---|---|---|
committer | David Caro <dcaroest@redhat.com> | 2015-11-24 21:18:45 +0100 |
commit | 9477275592f722892b22afe336940bf296302906 (patch) | |
tree | e3a851d3bccedf8e2e4ffdba7c8d905fca32a9b4 /tests/yamlparser/fixtures/project_workflow_template001.xml | |
parent | 294dea66b23c40e3af6094b92c4c6e964cadbed5 (diff) | |
download | python-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.xml | 25 |
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: "job1" +parallel [ + 2a: build job: "job2a", + 2b: node "dummynode" { + sh "echo I'm alive!" + } +] +</script> + <sandbox>false</sandbox> + </definition> + <actions/> + <description><!-- Managed by Jenkins Job Builder --></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> |