Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Print the URL where the output is available

  • Loading branch information...
commit 635f6c09d631582ded173b0101dcc781d4813acf 1 parent d754527
@halorgium halorgium authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/vulcan/cli.rb
View
5 lib/vulcan/cli.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.