Hello all, hello Ivan, I want to call the SVN client directly via Runtime.getRuntime().exec(), where the command line contains the SVN command, e.g. "svn --username YYY --password XXX status", or sending a command via SVNKit interface. As you can see, straight user/pass approach is sufficient. Sorry, applying your pointer, how do I have to proceed once having the "authenticationProvider"?
Thank you! Michael On Friday, November 2, 2012 8:22:24 AM UTC+1, Ivan Kalinin wrote: > > Hi there! > > What particularly are you trying to accomplish? > To get SVN credentials to use with the SVNKit, you can try to do as > follows: > > hudson.scm.SubversionSCM.DescriptorImpl descriptor = > (hudson.scm.SubversionSCM.DescriptorImpl) > Jenkins.getInstance().getDescriptor(hudson.scm.SubversionSCM.class); > ISVNAuthenticationProvider authenticationProvider = > descriptor.createAuthenticationProvider(build.getProject()); > > > And use the authenticationProvider with SVNKit stuff. > > On Thursday, November 1, 2012 1:35:15 PM UTC+4, Michael Hüttermann wrote: >> >> Hello, >> >> in a Builder, how can I access the Subversion credentials that are used >> to >> access the Subversion repository for checkout of code? >> >> >> Thank you. >> >> >> Best regards >> Michael >> >> >>