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 specifying the configuration within the job 
configuration XML?

[1] 
http://<JENKINS_URL>/job/<JOB_NAME>/descriptorByName/hudson.scm.SubversionSCM/enterCredential?<SVN_REPO>

Regards
Ramith (LSF)

On Monday, August 27, 2012 2:03:10 PM UTC+5:30, Ramith Jayasinghe wrote:
>
> 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 to do this?
>
>
> [1] PerJobCredentialStore.java
>
> Regards
> Ramith (LSF)
>
>

Reply via email to