node-jenkins
node-jenkins copied to clipboard
List running executor jobs
Hi all. Is there a way to list the current jobs being executed? This library has a call to see what is queued but not what is currently executing.
+1
@pdashford you can work around this using a get call to the address:
example.jenkins.com/computer/api/xml?tree=computer[executors[currentExecutable[url]],oneOffExecutors[currentExecutable[url]]]&xpath=//url&wrapper=builds
Credit: StackOverflow