mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
exit if RETRY is false
This commit is contained in:
parent
ad15c4ac78
commit
ccb5eed717
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ task "qunit:test" => :environment do
|
|||
begin
|
||||
sh(cmd)
|
||||
rescue
|
||||
exit if ENV['RETRY'].present? && ENV['RETRY'] == 'false'
|
||||
sleep 2
|
||||
tries += 1
|
||||
retry unless tries == 10
|
||||
|
|
Loading…
Reference in a new issue