Test defaults honors project variables

The defaults can make use of variables passed by the project and I am
taking advantage of that feature in my templates.

With 70ed2236 / https://review.openstack.org/#/c/85336/ there is a
regression which cause the test to fail although it pass with parent
commit d833015.

Change-Id: I57d023657eec4f6f8f29980100185fcfd7e77b1f
This commit is contained in:
Antoine Musso 2014-07-07 14:46:03 +02:00
parent ab434cc288
commit bcbfda844b
2 changed files with 32 additions and 0 deletions

@ -0,0 +1,19 @@
<?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>
<hudson.tasks.Shell>
<command>make all</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>

@ -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'