summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/folders001.xml
diff options
context:
space:
mode:
authorDarragh Bailey <dbailey@hp.com>2015-11-30 13:20:15 +0100
committerThanh Ha <thanh.ha@linuxfoundation.org>2017-10-23 13:29:21 -0400
commitaf9d984baa7f93ba8e846ff30a681d04117397e7 (patch)
tree5b9fa93edf1436319b5f657bfdb2a8a7ec101f3d /tests/yamlparser/fixtures/folders001.xml
parent16a307188e1059f6971e7c475ae7bd4c7afb388c (diff)
downloadpython-jenkins-job-builder-af9d984baa7f93ba8e846ff30a681d04117397e7.tar.gz
python-jenkins-job-builder-af9d984baa7f93ba8e846ff30a681d04117397e7.tar.xz
python-jenkins-job-builder-af9d984baa7f93ba8e846ff30a681d04117397e7.zip
Basic folder support
Allows specifying a folder attribute for each job generated, which in turn is used when creating or uploading to place the job under the requested folder. The job name is expanded after defaults are applied, to support the attribute being defined within a set of defaults applied to a number of jobs. This in turn allows for multiple jobs with the same basename to exist, provided they are targeted at different folders. Does not support creating the folders if they do not exist. Change-Id: I8c2157c4c81087cc972a048d1b88d5f08ac65361
Diffstat (limited to 'tests/yamlparser/fixtures/folders001.xml')
-rw-r--r--tests/yamlparser/fixtures/folders001.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/folders001.xml b/tests/yamlparser/fixtures/folders001.xml
new file mode 100644
index 00000000..0570e10a
--- /dev/null
+++ b/tests/yamlparser/fixtures/folders001.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project>
+ <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"/>
+ <builders/>
+ <publishers/>
+ <buildWrappers/>
+</project>