#388: rollback changes

This commit is contained in:
Vokhmin Alexey V 2014-05-21 01:19:34 +04:00
parent bfa7263283
commit ebb70a9df1
1 changed files with 6 additions and 7 deletions

View File

@ -164,14 +164,13 @@ class ProductBuildList < ActiveRecord::Base
file_name = "#{project.name}-#{commit_hash}"
opts = default_url_options
opts.merge!({user: user.authentication_token, password: ''}) if user.present?
# srcpath = url_helpers.archive_url(
# project.name_with_owner,
# file_name,
# 'tar.gz',
# opts
# )
srcpath = url_helpers.archive_url(
project.name_with_owner,
file_name,
'tar.gz',
opts
)
srcpath = 'https://pCDwMd2p9EXxEUvUvkpm:@abf.io/soft/build_lxde_desktop/archive/build_lxde_desktop-rosa2012.1.test.tar.gz'
cmd_params = "BUILD_ID=#{id} "
if product.platform.hidden?
token = product.platform.tokens.by_active.where(description: CACHED_CHROOT_TOKEN_DESCRIPTION).first