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

2020-02-27 Thread m...@basilcrow.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Basil Crow commented on  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?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.204186.1579684592000.813.1582824000129%40Atlassian.JIRA.


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

2020-01-22 Thread nik.rei...@ableton.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nik Reiman created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-60835  
 
 
  Publish information about currently running builds via API   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 swarm-plugin  
 
 
Created: 
 2020-01-22 09:16  
 
 
Priority: 
  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