Module: Jenkins2

Defined in:
lib/jenkins2.rb,
lib/jenkins2/api.rb,
lib/jenkins2/cli.rb,
lib/jenkins2/log.rb,
lib/jenkins2/util.rb,
lib/jenkins2/errors.rb,
lib/jenkins2/api/job.rb,
lib/jenkins2/api/rud.rb,
lib/jenkins2/cli/job.rb,
lib/jenkins2/version.rb,
lib/jenkins2/api/root.rb,
lib/jenkins2/api/user.rb,
lib/jenkins2/api/view.rb,
lib/jenkins2/cli/root.rb,
lib/jenkins2/cli/user.rb,
lib/jenkins2/cli/view.rb,
lib/jenkins2/cli/nodes.rb,
lib/jenkins2/connection.rb,
lib/jenkins2/api/plugins.rb,
lib/jenkins2/cli/plugins.rb,
lib/jenkins2/api/computer.rb,
lib/jenkins2/resource_proxy.rb,
lib/jenkins2/api/credentials.rb,
lib/jenkins2/cli/credentials.rb,
lib/jenkins2/api/role_strategy.rb,
lib/jenkins2/cli/role_strategy.rb

Defined Under Namespace

Modules: Util Classes: API, BadRequestError, CLI, Connection, InternalServerError, Log, NoValidCrumbMatcher, NotFoundError, ResourceProxy, ServiceUnavailableError

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.connect(**opts) ⇒ Object



7
8
9
# File 'lib/jenkins2.rb', line 7

def self.connect(**opts)
	Jenkins2::API.new opts
end