官方文档

 

get_running_builds()

Return list of running builds.

Each build is a dict with keys ‘name’, ‘number’, ‘url’, ‘node’, and ‘executor’.

Returns: List of builds, str: str, str: int, str:str, str: str, str: int} ]
Example::
>>> builds = server.get_running_builds()
>>> print(builds)
[{'node': 'foo-slave', 'url': 'https://localhost/job/test/15/',
  'executor': 0, 'name': 'test', 'number': 15}]

 

相关文章:

  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-09-12
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-14
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-11-02
  • 2021-10-08
相关资源
相似解决方案