class Serverspec::Type::JenkinsBase
Public Class Methods
new(name = nil, options = {})
click to toggle source
Calls superclass method
Serverspec::Type::ApiBase::new
# File lib/serverspec_extra_types/types/jenkins_base.rb, line 11 def initialize(name = nil, options = {}) super(name, options) @user = ENV['JENKINS_USER'] || nil @password = ENV['JENKINS_PASSWORD'] || nil @url_base = property[:variables][:jenkins_url] || 'http://localhost:8080' end
Public Instance Methods
exist?()
click to toggle source
# File lib/serverspec_extra_types/types/jenkins_base.rb, line 18 def exist? get_inspection.success? end