Re: Can't access config.xml file of ajob through powershell

2014-04-02 Thread Slide
Try something like this http://stackoverflow.com/questions/508565/how-to-make-an-authenticated-web-request-in-powershellit looks like you need to authenticate as a user in the Jenkins user database first. This should allow you to do that On Apr 2, 2014 7:48 AM, "Ren Jith" wrote: > @Eric : I want

Re: Can't access config.xml file of ajob through powershell

2014-04-02 Thread Ren Jith
@Eric : I want the config.xml file. Rest API xml file not contain what I want. @Mark : I already followed this link. But it didn't helped me. Have any other solutions. What I want is to get all the svn repos configured in a job. Rest API xml contains the configured repo as well as its externals.

Re: Can't access config.xml file of ajob through powershell

2014-04-02 Thread Mark Waite
I think you need to authenticate your API client. https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clientsprovides some hints (though not written in PowerShell). Mark Waite On Wed, Apr 2, 2014 at 7:28 AM, Eric Pyle wrote: > Try using > https://myjenkins:8443/hudson/job/my

Re: Can't access config.xml file of ajob through powershell

2014-04-02 Thread Eric Pyle
Try using https://myjenkins:8443/hudson/job/myProj/api/xml Eric On 4/2/2014 8:39 AM, Ren Jith wrote: Hi all, I am new to this forum, Please help me to find a solution to my problems. Ou

Can't access config.xml file of ajob through powershell

2014-04-02 Thread Ren Jith
Hi all, I am new to this forum, Please help me to find a solution to my problems. Our company has a Jenkins server. I am a user on this Jenkins server. I want to load the config.xml file of a specific job to PowerShell variable. I am using code like, $url ="https://myjenkins:8443/hudson/job/myP