Manually using TeamCity's bundled svnkit-cli

I can't install SVN on this box, but it already has a TeamCity build agent configured which has svnkit bundled, including svnkit-cli. Is it possible to invoke the cli programmatically, not through TeamCity?

Ideally a one-line bash comand, something like...
$ java -classpath ".;/teamcity/plugins/svnAgent/lib/*" SVN --version

I can't figure out the syntax to use the bundled svnkit-cli.  Is it possible?

Comment actions Permalink

I would recommend you to download svnkit itself from their site, including batch/shell files they provide and try.

Comment actions Permalink

I worked it out by looking at the svnkit documentation for using ant.  Cheers though.

java -cp ".:%teamcity.agent.home.dir%/plugins/svnAgent/lib/*" org.tmatesoft.svn.cli.SVN --version

Please sign in to leave a comment.