In the save_reports step, we encountered the following error:
[INFO] --- exec:3.0.0:exec (save_reports) @ TI-Messenger-Testsuite ---
cp: _<PATH>_/target/site/serenity/*: No such file or directory
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:457)
...
Specifically, we removed the wildcard * or replaced it with .. Both of the following lines worked for us:
<argument>${project.build.directory}/site/serenity/</argument><argument>${project.build.directory}/site/serenity/.</argument>
Thanks for reporting this! We will internally check, if this also works for our Linux and Windows environments. If that's the case, we will change the part accordingly.
In the
save_reports
step, we encountered the following error:We were able to resolve this issue by modifying this section in the
pom.xml
: https://github.com/gematik/TI-Messenger-Testsuite/blob/316ed40d8b5cc9e74600055626689b74b0522e4f/pom.xml#L637Specifically, we removed the wildcard
*
or replaced it with.
. Both of the following lines worked for us:<argument>${project.build.directory}/site/serenity/</argument>
<argument>${project.build.directory}/site/serenity/.</argument>
We are working with macOS.