Where can I find jenkins restful api reference?

2019-01-11 15:45发布

问题:

I am trying to integrate an external system with jenkins by REST API.

Although I have done lots of google search on its API reference, I still cannot get a full list of jenkins REST API reference.

Anybody knows about this?

回答1:

Jenkins has a link to their REST API in the bottom right of each page. This link appears on every page of Jenkins and points you to an API output for the exact page you are browsing. That should provide some understanding into how to build the API URls.

You can additionally use some wrapper, like I do, in Python, using http://jenkinsapi.readthedocs.io/en/latest/

Here is their website: https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API



标签: rest jenkins