Re: Specifying user name and password for svn repo in Job configuration.

2012-08-29 Thread Ramith Jayasinghe
HI, After playing around with jenkins UI, I found that the form located in [1] allows user to enter a authentication mechanism and other relevant information for the svn repository. So If I do the same by POSTing correct parameters programmatically (i.e. HttpClient) it would solve my problem r

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-29 Thread Ramith Jayasinghe
Hi, After playing around with jenkins UI, I figured out that form located at [1] allows user to specify svn credentials per job. Would it be a good/elegant idea to emulate this (by POSTING correct data to relevant url) programmatically to get this done? is there any other way such as specifyin

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-28 Thread Les Mikesell
On Tue, Aug 28, 2012 at 11:35 AM, David Weintraub wrote: > On Tue, Aug 28, 2012 at 7:33 AM, Яamith (tm) wrote: >> Any Ideas on this ? ;) > > Looking at my setup, it appears that each job has it's own set of > credentials. There's a file called "subversion.credentials" under each > job. > > I kno

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-28 Thread David Weintraub
On Tue, Aug 28, 2012 at 7:33 AM, Яamith (tm) wrote: > Any Ideas on this ? ;) Looking at my setup, it appears that each job has it's own set of credentials. There's a file called "subversion.credentials" under each job. I know that Jenkins will use the Subversion credentials listed under the $HO

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-28 Thread tm
Hi Folks, Any Ideas on this ? ;) Regads Ramith (LSF) On Mon, Aug 27, 2012 at 8:47 PM, Яamith (tm) wrote: > Hi David, > Thanks for the reply. > When someone enter SVN credentials in the screen [1] you mentioned > that will end up in [2]. > Correct me if I'm wrong, but as far as I understood any

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-27 Thread tm
Hi David, Thanks for the reply. When someone enter SVN credentials in the screen [1] you mentioned that will end up in [2]. Correct me if I'm wrong, but as far as I understood anything that's stored there will be for entire Jenkins (not exactly per job). However, by playing around with jenkins for

Re: Specifying user name and password for svn repo in Job configuration.

2012-08-27 Thread Qazwart
Jenkins can store subversion credentials per job, or under the $HOME.subversion/auth directory. If you need a different credential for a specific job, go to that job's configuration. Click on the help button by where you enter the Subversion URL. Read the help. There's a link that will allow y

Specifying user name and password for svn repo in Job configuration.

2012-08-27 Thread Ramith Jayasinghe
Hi Guys, I trying to figure out how to pass credentials (user name and password) for svn repository in the job configuration xml. I checked the code base [1] and this feature ( per job credential) seems to be available. So has anyone tried this before? Could someone share a sample Xml fragment