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

0 views
Skip to first unread message

nik.reiman@ableton.com (JIRA)

unread,
Jan 22, 2020, 4:17:03 AM1/22/20
to 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)

unread,
Feb 27, 2020, 12:20:01 PM2/27/20
to 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
Reply all
Reply to author
Forward
0 new messages