返回介绍

3.5.20. step

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

Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

3.5.20. step

resource type: step
Attributes:
  • stepid (integer) – the unique ID of this step

  • buildid (integer) – ID of the build containing this step

  • complete (boolean) – true if this step is complete

  • complete_at? (date) – time at which this step was complete, or None if it’s still running

  • hidden (boolean) – true if the step should not be displayed

  • name (identifier) – the step name, unique within the build

  • number (integer) – the number of this step (sequential within the build)

  • results? (integer) – the results of the step (see Build Result Codes), or None if not complete

  • started_at? (date) – time at which this step started, or None if it hasn’t started yet

  • state_string (string) – a string giving detail on the state of the build. The first is usually one word or phrase; the remainder are sized for one-line display

  • urls[]

    a list of URLs associated with this step

    • name (string)

    • url (string)

This resource type describes a step in a build. Steps have unique IDs, but are most commonly accessed by name in the context of their containing builds.

3.5.20.1. Update Methods

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

class buildbot.data.steps.Step
path: /builders/{builderid_or_buildername}/builds/{build_number}/steps
Path Keys:
  • builderid_or_buildername (number|identifier) – the ID or name of the builder

  • build_number (number) – the number of the build within the builder

This path selects all steps for the given build

GET
returns

collection of step

path: /builders/{builderid_or_buildername}/builds/{build_number}/steps/{step_name}
Path Keys:
  • builderid_or_buildername (number|identifier) – the ID or name of the builder

  • build_number (number) – the number of the build within the builder

  • step_name (identifier) – the slug name of the step

This path selects a specific step for the given build

GET
returns

collection of step

path: /builders/{builderid_or_buildername}/builds/{build_number}/steps/{step_number}
Path Keys:
  • builderid_or_buildername (number|identifier) – the ID or name of the builder

  • build_number (number) – the number of the build within the builder

  • step_number (number) – the number of the step

This path selects a specific step given its step number

GET
returns

collection of step

path: /builds/{buildid}/steps
Path Keys:

buildid (number) – the id of the build

This path selects all steps of a build

GET
returns

collection of step

path: /builds/{buildid}/steps/{step_number_or_name}
Path Keys:
  • buildid (number) – the id of the build

  • step_number_or_name (identifier|number) – the name or number of the step

This path selects one step of a build

GET
returns

collection of step

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

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

发布评论

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