Thanks Daniel for the quick response. According to https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API seems the /job/JOB_NAME/build is a JSON based API. I was wondering why there is no JSON based API for creating a job.? For consistency I would expect a JSON based API. Any plans to implement such in a future release?
On Thursday, October 9, 2014 11:25:10 PM UTC+5:30, Daniel Beck wrote: > > > Is there anyway I can avoid an xml file but to use a "JSON" for that? > Does Jenkins createItem / createJob API supports JSON inputs? > > > No. It's less of an XML based API, rather you're passing in the job's new > config.xml, which just happens to be XML. Likewise, the > /job/jobname/config.xml URL only serves 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. For more options, visit https://groups.google.com/d/optout.