Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 11/Jul/14 4:49 PM
Description:

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

Project: Jenkins
Priority: Major Major
Reporter: françois auger
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to