How to access value of a parameter using remote api

2012-10-30 Thread Ramith Jayasinghe
Hi Guys, is it possible to get the (default) value parameter (defined in a parametrized) in job definition using the remote api? Has anyone done something similar before? Regards, Ramith

SSO with SAML 2.0

2012-09-11 Thread Ramith Jayasinghe
Hi folks, I'm looking for a plugin which can talk to a SAML 2.0 provider to support SSO. The closest thing I found is [1]. But it doesn't seem to support SAML 2 So any alternatives ? [1] https://wiki.jenkins-ci.org/display/JENKINS/CAS+Plugin Regards Ramith.

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

2012-08-29 Thread Ramith Jayasinghe
, 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 any

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

2012-08-29 Thread Ramith Jayasinghe
specifying the configuration within the job configuration XML? [1] http:///job//descriptorByName/hudson.scm.SubversionSCM/enterCredential? 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 credenti

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

Remote Api Sample (Secured Main) seems to be broken.

2012-08-20 Thread Ramith Jayasinghe
Hi Guys, I just tried to run the sample at [1] and it seems to be broken. Quick look at the code and login form in Jenkins ver. 1.476 showed me that: after I correct, 'j_security_check' to 'j_acegi_security_check things started working. Thought I should let guys know. [1] https://github.com/j

Re: Creating a new Job Programatically.

2012-08-20 Thread Ramith Jayasinghe
running Jenkins system. > > Mark Waite > > > > > > > > > > > From: Ramith Jayasinghe > >To: Jenkins Users > >Sent: Monday, August 20, 2012 7:20 AM > >Subject: Creating a new Job Programatically. > > >Hi Everyone,

Creating a new Job Programatically.

2012-08-20 Thread Ramith Jayasinghe
Hi Everyone, I'm trying to create a job in jenkins programmatically (using Remote Access API). By playing around and reading the documentation I found that I could do this by sending a xml document ( with a query parameter specifying the name of the job) with the configuration over http/Rest. The