-
Bug
-
Resolution: Not A Defect
-
Major
-
None
Hi all,
I'm facing a problem (bug ?) using buildWithParameter and jsonp (with angular) :
I try to start my job with parameter and then get the response as jsonp :
First i call my url throught jsonp. In angular it looks like to :
$http.jsonp("http://jenkins-server.com/jenkins/view/myJob/job/myJob/buildWithParameters?token=myToken&jsonp=test&BUILD_JOB_NAME=foo")
I cannot set the header in jsonp and i see the "default" header is :
Accept:/
The build starts sucessfully but i get a 302 http response and response data are xml and not json as expected.
Any help is greatly appreciated.
Thx