Re: Remote Access API - REST API in Jenkins

2017-07-31 Thread Michael Pailloncy
The "mode" parameter is expected here since you are triggering a job copy instead of a job creation (it's the same API endpoint, it differs only with the number/kind of parameters). To trigger a job creation, you need something like : curl -v -XPOST 'http:// :/createItem?name=bimbilimbimbim' --da

Re: Remote Access API - REST API in Jenkins

2017-07-30 Thread Pradeep Patra
On Monday, July 31, 2017 at 7:21:08 AM UTC+8, mpapo - Michael Pailloncy wrote: > > >> I tried it and it is asking for mode? I am not sure what is the mode I >> should provide for creating new job. I tried passing mode=create and it >> did not work. >> > > Can you share the command line which

Re: Remote Access API - REST API in Jenkins

2017-07-30 Thread Michael Pailloncy
> > > I tried it and it is asking for mode? I am not sure what is the mode I > should provide for creating new job. I tried passing mode=create and it > did not work. > Can you share the command line which you've tried please ? > >> However, what do you mean by "for creating jobs based on a spe

Re: Remote Access API - REST API in Jenkins

2017-07-28 Thread Pradeep Patra
On Friday, July 28, 2017 at 4:54:13 PM UTC+8, mpapo - Michael Pailloncy wrote: > > Remote Access API is available directly, without need to install any > plugin. > By accessing *http://${YOUR_JENKINS}/api* url, you should be able to see > a page listing different ways to interact with it (see

Re: Remote Access API - REST API in Jenkins

2017-07-28 Thread Michael Pailloncy
Remote Access API is available directly, without need to install any plugin. By accessing *http://${YOUR_JENKINS}/api* url, you should be able to see a page listing different ways to interact with it (see "Create Job"). You have also a full example here

Remote Access API - REST API in Jenkins

2017-07-27 Thread Pradeep Patra
Hi all, I am using Jenkins 2.71 trying to use Remote Access API plugin for creating jobs outside the Jenkins. I was referring to the below plugin. https://wiki.jenkins.io/display/jenkins/remote+access+api When I search in Manage Plugins I could not find any plugin with this name? I have got Re