Commit 86bc0e2e authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'fix-wait-for-trigger-build' into 'master'

Fix wait! for scripts/trigger-build

Closes #239336

See merge request gitlab-org/gitlab!40116
parents 8a3defb8 e8798965
......@@ -343,7 +343,7 @@ module Trigger
sleep INTERVAL
when :success
puts "#{self.class.unscoped_class_name} succeeded in #{duration} minutes!"
break
return
else
raise "#{self.class.unscoped_class_name} did not succeed!"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment