module Subordinate::Client::Load

Load statistics

@see ci.jenkins-ci.org/job/jenkins_rc_branch/api/

Public Instance Methods

load_statistics(options = {}) click to toggle source

Returns the current load statistics of the Jenkins server

@see ci.jenkins-ci.org:8080/queue/api/

@return [Hashie::Mash] load statistics response

@example Get the current load statistics

Subordinate::Client.load_statistics

@author Jason Truluck

# File lib/subordinate/client/load.rb, line 18
def load_statistics(options = {})
  get("overallLoad/api/json", options)
end