[FIXED JENKINS-13546]: return a JSON string when client request it through content-type header
When a client uses the buildWithParameters API and request a json output, return the job definition as a json string instead of doing a redirect on the job page.
Loading
Please register or sign in to comment