Merge pull request #941 from warpc/940-fix-path-to-project-for-iso-worker
[refs #940]: change path for downloading project for build ISO
This commit is contained in:
commit
7efae107eb
|
@ -146,7 +146,7 @@ class ProductBuildList < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def abf_worker_args
|
def abf_worker_args
|
||||||
file_name = "#{project.owner.uname}-#{project.name}-#{commit_hash}"
|
file_name = "#{project.name}-#{commit_hash}"
|
||||||
opts = {:host => ActionMailer::Base.default_url_options[:host]}
|
opts = {:host => ActionMailer::Base.default_url_options[:host]}
|
||||||
opts.merge!({:user => user.authentication_token, :password => ''}) if user.present?
|
opts.merge!({:user => user.authentication_token, :password => ''}) if user.present?
|
||||||
srcpath = url_helpers.archive_url(
|
srcpath = url_helpers.archive_url(
|
||||||
|
|
Loading…
Reference in New Issue