From 1cc37927f8758d940df4361d455a4f8e1e836eab Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Wed, 22 Nov 2023 22:13:09 +0000
Subject: [PATCH] Issue #3403420 by fjgarlin: Test reports contain absolute
 path and link leads nowhere

---
 .gitlab-ci/pipeline.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci/pipeline.yml b/.gitlab-ci/pipeline.yml
index ed32efbb495f..ec2de2595bc8 100644
--- a/.gitlab-ci/pipeline.yml
+++ b/.gitlab-ci/pipeline.yml
@@ -30,6 +30,8 @@ default:
       mkdir -p ./sites/simpletest ./sites/default/files ./build/logs/junit /var/www/.composer
       chown -R www-data:www-data ./sites ./build/logs/junit ./vendor /var/www/
       sudo -u www-data git config --global --add safe.directory $CI_PROJECT_DIR
+  after_script:
+    - sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true
   artifacts:
     when: always
     expire_in: 6 mos
-- 
GitLab