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 "Create Job"). > > You have also a full example here > <https://gist.github.com/stuart-warren/7786892> using *curl* to create a > new job based on XML with or without folder. >
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. > > However, what do you mean by "for creating jobs based on a specific build" > ? > I mean the new job should "execute shell" to package local packages. I guess that I can achieve with the buildWithParameters and by passing the command. If you have any example could you please let me know. > > 2017-07-28 8:03 GMT+02:00 Pradeep Patra <[email protected] > <javascript:>>: > >> 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 Remote Terminal access plugin. How can I install this >> plugin. Does it have separate hpi? >> I was trying to find a suitable example for creating job based on >> xml/JSON for creating jobs based on a specific build? >> >> Regards >> Pradeep >> >> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/02ea4100-29b8-4d08-88ea-1b920e84eff5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/02ea4100-29b8-4d08-88ea-1b920e84eff5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/130842d8-4c23-48a1-adcb-4f50098610d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
