Permalink
Browse files

Print the URL where the output is available

  • Loading branch information...
1 parent d754527 commit 635f6c09d631582ded173b0101dcc781d4813acf @halorgium halorgium committed Nov 24, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/vulcan/cli.rb
View
@@ -57,9 +57,12 @@ def build
puts ">> Downloading build artifacts to: #{output}"
+ output_url = "#{server}/output/#{response["X-Make-Id"]}"
+ puts " (available at #{output_url})"
+
File.open(output, "w") do |output|
begin
- output.print RestClient.get("#{server}/output/#{response["X-Make-Id"]}")
+ output.print RestClient.get(output_url)
rescue Exception => ex
puts ex.inspect
end

0 comments on commit 635f6c0

Please sign in to comment.