Merge "Test defaults honors project variables"
This commit is contained in:
commit
8a6f7e1f5b
tests/yamlparser/fixtures
19
tests/yamlparser/fixtures/var_applied_in_defaults.xml
Normal file
19
tests/yamlparser/fixtures/var_applied_in_defaults.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?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>make all</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
13
tests/yamlparser/fixtures/var_applied_in_defaults.yaml
Normal file
13
tests/yamlparser/fixtures/var_applied_in_defaults.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
- defaults:
|
||||
name: 'global'
|
||||
builders:
|
||||
- shell: "make {make-target}"
|
||||
|
||||
- job-template:
|
||||
name: 'build-project'
|
||||
|
||||
- project:
|
||||
name: 'project'
|
||||
make-target: 'all'
|
||||
jobs:
|
||||
- 'build-project'
|
Loading…
x
Reference in New Issue
Block a user