Issue #3414377 by fgarlin, mradcliffe, el7cosmos: Adds project directory as location for junit.xml for 10.2.x
Merge request reports
Activity
569 569 reports: 570 570 junit: 571 571 - junit.xml 572 - $CI_PROJECT_DIR/junit.xml Sorry, I should have specified better. I think this line is not needed as the one above should be enough.
The place where we need to change it is above (lines 551-552): https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.main.yml?ref_type=heads#L551-552
Just change
> junit.xml
for> $CI_PROJECT_DIR/junit.xml
. Then the report file should be found.junit.xml
and$CI_PROJECT_DIR/junit.xml
are equivalent as artifacts will be searched on the project directory.As mentioned above, the change is not needed in this line. It is needed in these lines: https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.main.yml?ref_type=heads#L579-580
We just need to change, on those two lines:
--log-junit junit.xml
to--log-junit $CI_PROJECT_DIR/junit.xml
. And then test. Drupal versions above and below 10.2.0 should work.changed this line in version 3 of the diff
added 1 commit
added 4 commits
Toggle commit list