summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-11-16 11:49:40 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-11-16 11:49:40 +0000
commit348dd42d797bafe2ffb64a2ed224c106726ea938 (patch)
tree755f98c42dc7d3bc6b1498e46cd6df9ceaa230d7 /lib
parent875bae16d0d3c1f026d658ab430878a73e3ac438 (diff)
parent198f2a0b6149a2e7c069ad3aaad6ced9f5bb3ea1 (diff)
downloadgitlab-ce-348dd42d797bafe2ffb64a2ed224c106726ea938.tar.gz
Merge branch 'sh-use-nokogiri-xml-backend' into 'master'
Use Nokogiri as the ActiveSupport XML backend Closes #54068 See merge request gitlab-org/gitlab-ce!23136
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/parsers/test/junit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/parsers/test/junit.rb b/lib/gitlab/ci/parsers/test/junit.rb
index ed5a79d9b9b..2791730fd26 100644
--- a/lib/gitlab/ci/parsers/test/junit.rb
+++ b/lib/gitlab/ci/parsers/test/junit.rb
@@ -14,7 +14,7 @@ module Gitlab
test_case = create_test_case(test_case)
test_suite.add_test_case(test_case)
end
- rescue REXML::ParseException
+ rescue Nokogiri::XML::SyntaxError
raise JunitParserError, "XML parsing failed"
rescue
raise JunitParserError, "JUnit parsing failed"