我在哪里可以找到 Jenkins 平静的 api 参考?

我试图通过 REST API 集成一个外部系统和 Jenkins。

尽管我已经对它的 API 参考做了很多谷歌搜索,我仍然不能得到一个完整的 jenkins REST API 参考列表。

有人知道这事吗?

129960 次浏览

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

Additional Solution: use Restul api wrapper libraries written in Java / python / Ruby - An object oriented wrappers which aim to provide a more conventionally way of controlling a Jenkins server.

For documentation and links: Remote Access API