返回介绍

3.5.1. builder

发布于 2023-09-20 23:50:40 字数 3701 浏览 0 评论 0 收藏 0

Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

3.5.1. builder

resource type: builder
Attributes:
  • builderid (integer) – the ID of this builder

  • description? (string) – The description for that builder

  • masterids[] (integer) – the ID of the masters this builder is running on

  • name (identifier) – builder name

  • tags[] (string) – list of tags for this builder

  • projectid? (string) – the ID of the project that this builder is associated with, if any

This resource type describes a builder.

3.5.1.1. Update Methods

All update methods are available as attributes of master.data.updates.

class buildbot.data.builders.Builder
path: /builders

This path selects all builders

GET
returns

collection of builder

path: /builders/{builderid_or_buildername}
Path Keys:

builderid_or_buildername (number|identifier) – the ID or name of the builder

This path selects a builder by builderid

GET
returns

collection of builder

path: /masters/{masterid}/builders
Path Keys:

masterid (number) – the id of the master

This path selects all builders of a given master

GET
returns

collection of builder

path: /masters/{masterid}/builders/{builderid}
Path Keys:
  • masterid (number) – the id of the master

  • builderid (number) – the id of the builder

This path selects one builder by id of a given master

GET
returns

collection of builder

path: /projects/{projectid_or_projectname}/builders
Path Keys:

projectid_or_projectname (number|identifier) – the ID or name of the project

This path selects all builders for a project

GET
returns

collection of builder

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文