junit.xml: no matching files in phpunit job artifacts

Migrated issue

Reported by: jonathan1055

Related to !354 (merged) !341 (merged)

Problem/Motivation

When PHPUnit jobs pass, there is often still an error in the log

Uploading artifacts...
WARNING: junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/issue/my_module-nnnnnn)

This is not a new fault, I think it has been happening since day 1. When the phpunit test fails, we do not get this error, because a junit.xml file is created.

Proposed resolution

As artifact files have to exist, can we just create an empty junit.xml before executing phpunit?

Remaining tasks

Assignee Loading
Time tracking Loading