Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from halorgium/print-url

Print the URL where the output is available
  • Loading branch information...
commit e669891ceda9be55fa916eb863e067dd8e139180 2 parents 153eb29 + 635f6c0
@ddollar ddollar 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.