This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-90137b0f-1d05-4627-8e07-48bb4c99e414 XWIKI-24537 Closed

The CI cannot find screenshot in the case of failing environment tests anymore

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cf8e5232-9188-47ab-9ed2-5f4328d3a65a Thomas Mortagne created this issue on 01/Jul/26 16:04
 
Summary: The CI cannot find screenshot in the case of failing environment tests anymore
Issue Type: cid:jira-generated-image-avatar-90137b0f-1d05-4627-8e07-48bb4c99e414 Bug
Affects Versions: 17.10.7, 18.2.1, 18.3.0-rc-1
Assignee: Unassigned
Components: Test Framework
Created: 01/Jul/26 16:04
Priority: cid:jira-generated-image-static-major-e5b63c53-5b3d-40e7-a148-43d7b12db1ac Major
Reporter: Thomas Mortagne
Description:

XWIKI-24178 changed a bit where screenshots are located in case the system property "maven.build.dir" is set, but the pipeline cannot use the API and was not updated to take that into account.

That being said, there is no reason for the screenshots folder to be based on getOutputDirectory() and it should be based on getMavenBuildDirectory() (which is environment's build expectation).

It will still require modifying the pipeline since the main build will become wrong (since the logic for case where "maven.build.dir" is set and cases where "maven.build.dir" is not set was completly different before and is now consistent).

 
 

3 updates

 
cid:jira-generated-image-avatar-cf8e5232-9188-47ab-9ed2-5f4328d3a65a Changes by Thomas Mortagne on 01/Jul/26 16:09
 
Assignee: Thomas Mortagne
Resolution: Duplicate
Status: Open Closed