Getting SVN error in JENKINS | Forum

Topic location: Forum home » General » General Chat
Namit Narang
Namit Narang Aug 21 '16
I was trying to build with the help of ANT in Jenkins but i am getting error

SVN:Network connection closed unexpectedly.

Please help me to resolve this error.

Svn : Exporting export -r HEAD svn+ssh:// /quby1000build/quby svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.

I have provided buildman password at the time of configuration of job.

I am using below snippet in build.xml

<target name="getsource"><taskdef resource="" /><delete dir="${quby.base.dir}" /><svn><export srcUrl="${svn.quby.url}" destPath="${quby.base.dir}" /></svn><replaceregexp match="\r(\n)" replace="\1" flags="g"><fileset dir="${quby.base.dir}"><include name="**/*.sh" /><include name="**/*.run" /></fileset></replaceregexp></target>

Rajesh Kumar
Rajesh Kumar Sep 6 '16

Setun SVN with Jenkins, Please follow this url

If you are trying to use svn using ant,