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/myProj/config.xml" [xml]$xmld = (New-Object System.Net.WebClient).DownloadString($url) //loading the xml file But this is not working. Sometimes an error gets like The server committed a protocol violation. Section=ResponseStatusLine" When some times i used the http connection I got a different error like exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (403) Forbidden After all this stuff i just tested with 'wget.exe' There also an error comes like, HTTP request sent, awaiting response... 403 Forbidden 2014-04-01 16:52:25 ERROR 403: Forbidden. I can't figure out the exact problem.Please help me? I know this is related to the jenkins security issue. That's why i am posting this here. Thanks, -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.