And were you able to run the Ant file by itself? per the Assumptions:
"Assumptions
I'm assuming you successfully completed the prior step and can run
your tests from ANT, either within your IDE or at the command line.
Don't bother proceeding until you've done so."
I recently setup Jenkins at work and don't think I actually used a
batch file for anything....
Jim
My Ant config in Jenkins is the same as Randy:
Name: Ant
ANT_HOME: X:\ant
Then within my Jenkins project I have:
Build
-------------------------
Invoke Ant
Ant Version: Ant (refers to 'name' defined above)
Targets: BUILD-TESTS (refers to the target in my build.xml file)
Build File: _build\build.xml (click advanced button to see this field)
And my Ant BUILD-TESTS target looks like:
<target name="BUILD-TESTS" depends="runtests,junitreport" />
<target name="runtests" description="Make output directories and run
the MXUnit task">
<mkdir dir="${junit.out.dir.html}" />
<mkdir dir="${output.dir}" />
<mxunittask server="${test.url}"
defaultrunner="${test.directory}/_test/HttpAntRunner.cfc"
outputdir="${output.dir}" verbose="true"
testResultsSummary="my.summary">
<directory path="${web.root}myproject/_test" recurse="true"
componentpath="myproject._tests"/>
</mxunittask>
</target>
Jim

[_build] $ cmd.exe /C '"X:\ant\bin\ant.bat -file build.xml BUILD-TESTS
&& exit %%ERRORLEVEL%%"'
Note the ANT_HOME is appended to the ant.bat...
I'm not sure if this matters but do you have an ANT_HOME environment
variable setup (I'm in Windows and have :
ALLUSERSPROFILE=C:\ProgramData
ANT_HOME=X:\ant <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
APPDATA=C:\Users\jdpriest\AppData\Roaming
Jim
> --
> You received this message because you are subscribed to the Google Groups "mxunit" group.
> To post to this group, send email to mxu...@googlegroups.com.
> To unsubscribe from this group, send email to mxunit+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mxunit?hl=en.
>
>
In your build step, are you sure you don't have a dropdown that lets
you choose the ant install?
Marc