Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-02 21:10:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-02 21:10:01 +0300
commite84a2fdfc862ac63fe4be9df2f940c22a0c9aba3 (patch)
tree8a64589231ede24f385d2819b3440fca001e482d /lib/gitlab/ci/parsers
parent1c2ff01b694fd06be15bc20279eef71ee5adf402 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/parsers')
-rw-r--r--lib/gitlab/ci/parsers/test/junit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/parsers/test/junit.rb b/lib/gitlab/ci/parsers/test/junit.rb
index 200e58ffc50..a5cea386b34 100644
--- a/lib/gitlab/ci/parsers/test/junit.rb
+++ b/lib/gitlab/ci/parsers/test/junit.rb
@@ -70,6 +70,8 @@ module Gitlab
elsif data.key?('error')
status = ::Gitlab::Ci::Reports::TestCase::STATUS_ERROR
system_output = data['error']
+ attachment = attachment_path(data['system_out'])
+ attachment = remove_project_prefix(attachment, job)
elsif data.key?('skipped')
status = ::Gitlab::Ci::Reports::TestCase::STATUS_SKIPPED
system_output = data['skipped']