我在哪里可以找到 jenkins restful api 参考? [英] Where can I find jenkins restful api reference?

查看:40
本文介绍了我在哪里可以找到 jenkins restful api 参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 REST API 将外部系统与 jenkins 集成.

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

尽管我在其 API 参考资料上进行了大量 google 搜索,但我仍然无法获得 jenkins 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.

有人知道吗?

推荐答案

Jenkins 在每个页面的右下角有一个指向他们的 REST API 的链接.此链接出现在 Jenkins 的每个页面上,并指向您正在浏览的确切页面的 API 输出.这应该能让您对如何构建 API URL 有所了解.

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.

您还可以像我一样在 Python 中使用一些包装器,使用 http://jenkinsapi.readthedocs.io/en/latest/

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

这是他们的网站:https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API

这篇关于我在哪里可以找到 jenkins restful api 参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆