Quantcast

SVN credentials re-use in shell script, later in the build job

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

SVN credentials re-use in shell script, later in the build job

Michael Hüttermann
Hello,

is there a way to re-use the Subversion account (password), stored via
Jenkins, for further access to Subversion, later, via shell build step, in
the same build job?

In my Jenkins build job, I connect to and checkout out sources from
Subversion. Auth is done with via once entering username/password. Later
in the build job, I want to connect to Subversion from inside a Shell
build step. How can I reuse the credentials that I've used and entered
before (to checkout from Subversion).

Any ideas?


Thanks.

Michael

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: SVN credentials re-use in shell script, later in the build job

marathiboy
Hello,

I use it and it just works..I added svn command (like svn info) within build step - execute shell and it works without any issues. I actually wrote a script and call that script within execute shell

M
Loading...