Skip to content

Commit

Permalink
Switch to matrix style Jenkins jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
markmandel committed Jan 19, 2012
1 parent c58e242 commit a8f548f
Showing 1 changed file with 55 additions and 15 deletions.
70 changes: 55 additions & 15 deletions build.xml
Expand Up @@ -112,22 +112,62 @@
<!-- - - - - - - - - - - - - - - - - -
target: unittest
- - - - - - - - - - - - - - - - - -->
<target name="unittest">
<antcall target="run-tests">
<param name="test.context" value="/cf9"/>
<param name="test.package" value="tests.cf9"/>
</antcall>
<antcall target="run-tests">
<param name="test.context" value="/cf8"/>
<param name="test.excludes" value="cf9"/>
<param name="test.package" value="tests.cf8"/>
</antcall>
<antcall target="run-tests">
<param name="test.context" value="/railo"/>
<param name="test.package" value="tests.railo"/>
</antcall>
<target name="unittest-async">
<antcall target="unittest-async-${suite.name}" />
</target>


<target name="unittest-async-cf9">
<antcall target="run-tests">
<param name="test.context" value="/cf9"/>
<param name="test.excludes" value="serial"/>
<param name="test.package" value="tests.cf9"/>
</antcall>
</target>

<target name="unittest-async-cf8">
<antcall target="run-tests">
<param name="test.context" value="/cf8"/>
<param name="test.excludes" value="cf9,serial"/>
<param name="test.package" value="tests.cf8"/>
</antcall>
</target>

<target name="unittest-async-railo">
<antcall target="run-tests">
<param name="test.context" value="/railo"/>
<param name="test.excludes" value="serial"/>
<param name="test.package" value="tests.railo"/>
</antcall>
</target>

<target name="unittest-sync">
<antcall target="unittest-sync-${suite.name}" />
</target>

<target name="unittest-sync-cf9">
<antcall target="run-tests">
<param name="test.context" value="/cf9"/>
<param name="test.componentPath" value="unittests.serial"/>
<param name="test.package" value="tests.cf9"/>
</antcall>
</target>

<target name="unittest-sync-cf8">
<antcall target="run-tests">
<param name="test.context" value="/cf8"/>
<param name="test.componentPath" value="unittests.serial"/>
<param name="test.package" value="tests.cf8"/>
</antcall>
</target>

<target name="unittest-sync-railo">
<antcall target="run-tests">
<param name="test.context" value="/railo"/>
<param name="test.componentPath" value="unittests.serial"/>
<param name="test.package" value="tests.railo"/>
</antcall>
</target>

<!-- - - - - - - - - - - - - - - - - -
target: run-tests
- - - - - - - - - - - - - - - - - -->
Expand Down

0 comments on commit a8f548f

Please sign in to comment.