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 ?
Try Jenkins API in Python.
get_jobs() Get list of jobs running. Each job is a dictionary with ‘name’, ‘url’, and ‘color’ keys. Returns: list of jobs, [ { str: str} ]