lib/jenkins/builder/app.rb in jenkins-builder-0.2.2 vs lib/jenkins/builder/app.rb in jenkins-builder-0.2.3

- old
+ new

@@ -27,12 +27,12 @@ module Builder class App attr_accessor :config, :client, :options - def initialize(options={}) + def initialize(service, options={}) @options = options - @service = @options[:service] + @service = service @config = Jenkins::Builder::Config.new(@service) if @config.url && @config.username && @config.password @client = JenkinsApi::Client.new(server_url: @config.url, username: @config.username,