rainforest-cli 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rainforest/cli.rb +1 -1
- data/lib/rainforest/cli/version.rb +1 -1
- metadata +1 -1
data/lib/rainforest/cli.rb
CHANGED
@@ -29,7 +29,7 @@ module Rainforest
|
|
29
29
|
sleep 5
|
30
30
|
response = get "#{API_URL}/#{run_id}"
|
31
31
|
if %w(queued in_progress sending_webhook waiting_for_callback).include?(response["state"])
|
32
|
-
puts "Run #{run_id} is
|
32
|
+
puts "Run #{run_id} is #{response['state']} and is #{response['current_progress']['percent']}% complete"
|
33
33
|
running = false if response["result"] == 'failed' && @options.failfast?
|
34
34
|
else
|
35
35
|
puts "Run #{run_id} is now #{response["state"]} and has #{response["result"]}"
|