Class: Jenkins::Remote

Inherits:
Object show all
Defined in:
lib/jenkins/remote.rb

Class Method Summary collapse

Class Method Details

.add_server(name, uri) ⇒ Object



3
4
5
# File 'lib/jenkins/remote.rb', line 3

def self.add_server(name, uri)
  remotes[name] = uri
end

.remotesObject



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

def self.remotes
  @remotes ||= {}
end