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://buildman@sun1770.daytonoh.ncr.com/SALES/QuBy/1.0.0.0/quby-backend /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="svntask.properties" /><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

http://stackoverflow.com/questions/5301314/how-to-set-up-svn-credentials-in-jenkins


If you are trying to use svn using ant,

http://stackoverflow.com/questions/2400893/how-to-checkout-from-svn-with-an-ant-task