subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <markp...@gmail.com>
Subject Re: Can I authenticate to Subversion using ssh?
Date Tue, 19 Jan 2021 17:45:20 GMT
On Tue, Jan 19, 2021 at 12:39 PM David Aldrich <david.aldrich.ntml@gmail.com>
wrote:

> Hi Daniel
>
> Thanks for your reply. I've had a look at the Subversion book and done
> some Googling. It isn't easy to know how to configure svn on the server for
> ssh.
>
> We use the Collabnet Edge distribution of Subversion, which we believe only
> supports http/https - not svnserve.
>


Correct.  SVN Edge does not support svnserve or SSH.  That said, I
believe the svnserve binary is included.  So if you want to use it, then it
would be up to you to configure everything for it.  Might be easier to just
look for another way to inject a secret into your script.  I think, as an
example, there are Jenkins plugins that can take a secure Jenkins
credential and set them as environment variable for the job. So your script
could get the password from an environment variable.

As with everything Jenkins there is probably more than one way to do this,
but here is one I have used:

https://plugins.jenkins.io/credentials-binding/

Mark

Mime
View raw message