Add test for job instantiation with null parameters
Change-Id: Ie2c91b2e7c36804333ef8e96ca89977203defdd8
This commit is contained in:
parent
84fe78ad90
commit
2f8ac26e86
@ -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 "hello"</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers/>
|
||||
<buildWrappers/>
|
||||
</project>
|
@ -0,0 +1,10 @@
|
||||
- job-template:
|
||||
name: sample-job
|
||||
builders:
|
||||
- shell: echo "hello"
|
||||
|
||||
- project:
|
||||
name: sample-project
|
||||
jobs:
|
||||
# Place colon but define no parameters.
|
||||
- sample-job:
|
Loading…
Reference in New Issue
Block a user