I had a job in Hudson and I have migrated it to Jenkins but it's failing in Invoke Ant build step.
BUILD FAILED D:..\build.xml:16: Problem: failed to create task or type svn Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place.
My build file look like this:
<property environment="env"/>
<property name="root.dir" value="${basedir}" />
<property name="bin.dir" value="${root.dir}/bin" />
<property name="user.svn" value="xxxx" />
<property name="pass.svn" value="xxxx" />
<target name="checkout-bin">
<echo message="CHECKOUT" />
<delete dir="${bin.dir}" />
<svn javahl="false" username="${user.svn}" password="${pass.svn}">
<checkout url="${url.svn}" revision="HEAD" destPath="${bin.dir}" />
</svn>
</target>
I'm giving the url.svn as property of Build step like this url.svn=xxxxxxxx