I am trying to get the number of builds in the Jenkins Build Queue.
May I know the Jenkins command to get the number of builds running in the queue ?
See Jenkins' Remote access API.
Access the API description with:
http:///api/
and the actual data with:
http:///api/xml
The Build queue has its own separate API:
http:///queue/api/
with its data:
http:///queue/api/xml