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

1,087 views
Skip to first unread message

Michael Hüttermann

unread,
Aug 24, 2012, 5:23:37 AM8/24/12
to jenkins...@googlegroups.com
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

marathiboy

unread,
Aug 24, 2012, 9:13:10 AM8/24/12
to jenkins...@googlegroups.com
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



--
View this message in context: http://jenkins.361315.n4.nabble.com/SVN-credentials-re-use-in-shell-script-later-in-the-build-job-tp4638528p4638536.html
Sent from the Jenkins users mailing list archive at Nabble.com.
Reply all
Reply to author
Forward
0 new messages