diff options
author | Darragh Bailey <dbailey@hp.com> | 2015-11-30 13:20:15 +0100 |
---|---|---|
committer | Thanh Ha <thanh.ha@linuxfoundation.org> | 2017-10-23 13:29:21 -0400 |
commit | af9d984baa7f93ba8e846ff30a681d04117397e7 (patch) | |
tree | 5b9fa93edf1436319b5f657bfdb2a8a7ec101f3d /tests/yamlparser/fixtures/python-jobs | |
parent | 16a307188e1059f6971e7c475ae7bd4c7afb388c (diff) | |
download | python-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/python-jobs')
-rw-r--r-- | tests/yamlparser/fixtures/python-jobs/folders-job-name.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/python-jobs/folders-job-name.xml b/tests/yamlparser/fixtures/python-jobs/folders-job-name.xml new file mode 100644 index 00000000..8a3d28bd --- /dev/null +++ b/tests/yamlparser/fixtures/python-jobs/folders-job-name.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<project> + <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"/> + <builders> + <hudson.tasks.Shell> + <command>tox -e py27 +</command> + </hudson.tasks.Shell> + </builders> + <publishers/> + <buildWrappers/> +</project> |