Seeking information about create API for Action

17 views
Skip to first unread message

selva vignesh

unread,
May 22, 2019, 2:40:02 AM5/22/19
to Jenkins Developers
Hi,
   I want create API action for my global configuration instead of configuring from UI. 
Case : 
   I have create GlobalConfiguration for my plugin and config.jelly. I would like to add API for the same class. 
When trigger the API with mentioned Param, class should get invoked.
Can anyone assist me to do.
Thanks in Advance..

Oleg Nenashev

unread,
May 24, 2019, 2:20:21 AM5/24/19
to Jenkins Developers
Hi,

It is not clear what is the request here. Do you want to add Java API, or is it about REST API?
It might also help if you share your current code.

BR, Oleg

selva vignesh

unread,
May 26, 2019, 3:39:58 AM5/26/19
to jenkin...@googlegroups.com
Hi Oleg,
In Jenkins we have an API to call the build, job details as Json response. The same i want to create API for my plugin. How can I achieve this. 
Can you please share the details 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2074929f-c659-46ad-8314-5d342a8036b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oleg Nenashev

unread,
May 26, 2019, 4:26:21 AM5/26/19
to JenkinsCI Developers

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/56LWFZvFN10/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAOVVkp%3DsZdjerFT1wsMQi_nuanfvpT_4QBCUOzMOZ%3Dc7yJ7AyQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages