[JIRA] (JENKINS-60835) Publish information about currently running builds via API

已查看 0 次
跳至第一个未读帖子

nik.reiman@ableton.com (JIRA)

未读,
2020年1月22日 04:17:032020/1/22
收件人 jenkinsc...@googlegroups.com
Nik Reiman created an issue
 
Jenkins / Improvement JENKINS-60835
Publish information about currently running builds via API
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: swarm-plugin
Created: 2020-01-22 09:16
Priority: Minor Minor
Reporter: Nik Reiman

When using slave.jar, build nodes publish information about currently running builds via the Jenkins API. I'm not super well-versed in the API internals, but as far as I can tell, this involves publishing extra information for each executor. Otherwise, Jenkins replaces this with a PlaceholderTask, which doesn't contain any information about what is actually building, and the API consumer can only see if the executor is idle or not.

Effectively, this means that API calls such as [{{get_running_builds}} in the python-jenkins API|]https://python-jenkins.readthedocs.io/en/latest/api.html#jenkins.Jenkins.get_running_builds return an empty list, which is not terribly useful.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

me@basilcrow.com (JIRA)

未读,
2020年2月27日 12:20:012020/2/27
收件人 jenkinsc...@googlegroups.com
Basil Crow commented on Improvement JENKINS-60835
 
Re: Publish information about currently running builds via API

Hey Nik Reiman, as far as I can tell this should be working. Can you please provide a more detailed set of steps to reproduce the issue?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
回复全部
回复作者
转发
0 个新帖子