Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since commit [1] the `Server:save_artifacts()` function was called more than once. Due to this fact we could overwrite already saved artifacts. Added a flag that will ensure that the saving will be executed only once. There was also a problem when copying artifacts was not performed but the path to the artifacts was formed as a directory with artifacts: artifacts: server -> /tmp/t/artifacts/server-XXX And if we tried to look at these artifacts, we could see this: $ ls -la /tmp/t/artifacts/server-XXX ls: cannot access '/tmp/t/artifacts/server-XXX': No such file or directory To show explicitly that the saving failed with an error, the following string will now be written to the artifacts: artifacts: server -> Failed to copy artifacts for server (alias: server-XXX workdir: /tmp/t/artifacts/server-XXX) [1] 251b35f Part of #304
- Loading branch information