返回介绍

3.5.7. changesource

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

Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

3.5.7. changesource

resource type: changesource
Attributes:
  • changesourceid (integer) – the ID of this changesource

  • master? (master) – the master on which this worker is running, or None if it is inactive

  • name (string) – name of this changesource

A changesource generates change objects, for example in response to an update in some repository. A particular changesource (by name) runs on at most one master at a time.

3.5.7.1. Update Methods

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

class buildbot.data.changesources.ChangeSource
path: /changesources

This path selects all changesource

GET
returns

collection of changesource

path: /changesources/{changesourceid}
Path Keys:

changesourceid (number) – the id of a changesource

This path selects one changesource given its id

GET
returns

collection of changesource

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

masterid (number) – the id of the master

This path selects all changesources for a given master

GET
returns

collection of changesource

path: /masters/{masterid}/changesources/{changesourceid}
Path Keys:

masterid (number) – the id of the master

This path selects one changesource by id for a given master

GET
returns

collection of changesource

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

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

发布评论

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