Skip to content
Snippets Groups Projects
Commit d2a6a162 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Dont need chdir since we pass cwd to childprocess. Show user avatars on users page

parent 0378340a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,7 +7,7 @@
%ul.unstyled
- @users.each do |user|
%li
%i.icon-user
= image_tag gravatar_icon(user.email, 24)
= user.email
= link_to 'Remove', user, :data => { :confirm => "Are you sure?" }, :method => :delete, class: 'btn btn-danger btn-small right'
%hr
Loading
Loading
Loading
Loading
@@ -39,17 +39,15 @@ class Runner
commands = commands.lines.to_a
commands.unshift(prepare_project_cmd(path, build.sha))
 
Dir.chdir(path) do
commands.each do |line|
status = command(line, path)
build.write_trace(@output)
commands.each do |line|
status = command(line, path)
build.write_trace(@output)
 
return if build.canceled?
return if build.canceled?
 
unless status
build.drop!
return
end
unless status
build.drop!
return
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment