diff --git a/ci/test_plugins.rb b/ci/test_plugins.rb index b914de24d6a..4b381f781e7 100644 --- a/ci/test_plugins.rb +++ b/ci/test_plugins.rb @@ -260,12 +260,13 @@ def setup_logstash_for_development # restore original git status to avoid to accidentally commit build artifacts cleanup_logstash_snapshot -if failed_plugins +if !failed_plugins.empty? puts "########################################" puts " Failed plugins:" puts "----------------------------------------" failed_plugins.each {|failure| puts "- #{failure}"} puts "########################################" + exit 1 else puts "NO ERROR ON PLUGINS!" end