Jenkins command to get number of builds in queue -


i trying number of builds in jenkins build queue.

may know jenkins command number of builds running in queue ?

see jenkins' remote access api.

access api description with:

  http://<your jenkins>/api/ 

and actual data with:

  http://<your jenkins>/api/xml 

the build queue has own separate api:

  http://<your jenkins>/queue/api/ 

with data:

  http://<your jenkins>/queue/api/xml 

Comments