Concatenate each job XML created from the parsed yaml when using the YamlParser class for testing. Ensures that multiple jobs created from a single yaml file can be tested. Remove erroneous multiple job from scm_remote_deep_bug test. Change-Id: I2732a7303fefff1f321a1a5b7eef9144d168e39achanges/60/91960/4
parent
8cbc93a026
commit
07c5bd1cc3
@ -0,0 +1,50 @@
|
||||
<?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>perftest</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.Mailer>
|
||||
<recipients>projmanager@nowhere.net</recipients>
|
||||
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>false</sendToIndividuals>
|
||||
</hudson.tasks.Mailer>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
</project>
|
||||
<?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>unittest</command>
|
||||
</hudson.tasks.Shell>
|
||||
</builders>
|
||||
<publishers>
|
||||
<hudson.tasks.Mailer>
|
||||
<recipients>developer@nowhere.net</recipients>
|
||||
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>false</sendToIndividuals>
|
||||
</hudson.tasks.Mailer>
|
||||
</publishers>
|
||||
<buildWrappers/>
|
||||
</project>
|
||||
@ -0,0 +1,23 @@
|
||||
- job-template:
|
||||
name: '{name}-unit-tests'
|
||||
builders:
|
||||
- shell: unittest
|
||||
publishers:
|
||||
- email:
|
||||
recipients: '{mail-to}'
|
||||
|
||||
- job-template:
|
||||
name: '{name}-perf-tests'
|
||||
builders:
|
||||
- shell: perftest
|
||||
publishers:
|
||||
- email:
|
||||
recipients: '{mail-to}'
|
||||
|
||||
- project:
|
||||
name: project-name
|
||||
jobs:
|
||||
- '{name}-unit-tests':
|
||||
mail-to: developer@nowhere.net
|
||||
- '{name}-perf-tests':
|
||||
mail-to: projmanager@nowhere.net
|
||||
Loading…
Reference in new issue