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

查看:195
本文介绍了我在哪里可以找到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 URls提供一些理解.

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来使用包装程序.阅读thedocs.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天全站免登陆