Tests: Add test for group including missing job
Change-Id: Ie3103257111f5f6a81f0aadd32f88f35222198c6
This commit is contained in:
parent
822397a57f
commit
5e5eee86c3
@ -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>echo hi</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
@ -0,0 +1,17 @@
|
||||
# When job group includes job which is never declared, it's just ignored.
|
||||
|
||||
- job-template:
|
||||
name: job-1
|
||||
builders:
|
||||
- shell: echo hi
|
||||
|
||||
- job-group:
|
||||
name: group-1
|
||||
jobs:
|
||||
- job-1
|
||||
- job-2
|
||||
|
||||
- project:
|
||||
name: sample-project
|
||||
jobs:
|
||||
- group-1
|
Loading…
x
Reference in New Issue
Block a user