diff --git a/lib/jenkins_api_client/build_queue.rb b/lib/jenkins_api_client/build_queue.rb index 6d9a5a4c..4fd622a4 100644 --- a/lib/jenkins_api_client/build_queue.rb +++ b/lib/jenkins_api_client/build_queue.rb @@ -47,7 +47,7 @@ def size # Lists all tasks currently in the build queue # - def list_tasks + def list response_json = @client.api_get_request("/queue") tasks = [] response_json["items"].each do |item|