lib/kraken-build/jenkins-api.rb in kraken-build-0.0.2 vs lib/kraken-build/jenkins-api.rb in kraken-build-0.0.3

- old
+ new

@@ -19,10 +19,10 @@ jobs.map { |job| job["name"] } end def create_job(job, options = {}) - repo, branch_name = job.split('.') + repo, branch_name = job.split('.', 2) job_config = create_job_configuration(repo, branch_name) options.merge!( :body => job_config, :format => :xml, :headers => { 'content-type' => 'application/xml' })