Jenkins config.xml

2016-07-20 Thread ran son
Hi

Im using the promotion plugin to promote deployment in my jenkins job but 
the same configuration isnt available in the job config.xml. Is this by 
design? Am i missing any setting? Why i cannot see the plugin configuration 
in the job config.xml?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/037d408a-fb27-4c70-ab1a-6684ec7f806b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


authorization headers for jenkins

2016-06-27 Thread ran son
Hi 

Im trying to automate job creation from Jenkins using powershell and using 
BASIC authentication. This works if i use AD auth with "logged in users can 
do anything " option enable. We had to switch to matrix based security and 
the BASIC auth no loger works. script below, does anyone know what is the 
authorixation header that we should set for below request? Any thoughts 
will be really helpful 


$http_request = New-Object -ComObject Msxml2.XMLHTTP 
$http_request.open('POST', $url, $false, $username , $password )   
  
$http_request.setRequestHeader("Authorization","BASIC 
$encodedPassword" ) 
$http_request.setRequestHeader("ACCEPT", "application/xml") 
#$http_request.setRequestHeader("Content-length", $content.length) 
$auth_header = "BASIC $encodedPassword" 
$http_request.setRequestHeader("Connection", "close") 
$http_request.send($content)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/03c948ff-55dd-4ceb-b398-4bba6ca6e75c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.