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 right? Or is there any other (/more elegent) way of doing this? Or is it possible to send this information along with job configuration xml ?
[1] http://<JENKINS_SERVER>/job/<JOB_NAME>/descriptorByName/hudson.scm.SubversionSCM/enterCredential?<SVN_REPO_URL> 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) > >