Artifacts are files that registered in Continua CI as important files. By registering a file as an artifact, it can then be viewed through the browser or downloaded to the current user's computer.
|Please note that all Artifact Rules refer to the server's workspace, NOT the agent's workspace. The file must exist in the server's workspace before it can be registered as an artifact. To transfer files from the agent to the server, use Workspace Rules.|
1. Artifacts without view types
Rule Example Type 1 - Simple Artifacts
[1.1] Output\**.xml [1.2] Output\*\**.exe [1.3] Output\log.txt
[1.1] - Registers all files with the ".xml" extension in the Output directory as artifacts.
[1.2] - Registers all files with the ".exe" extension in any directories underneath the Output directory. It won't match any ".exe" files directly in the Output directory.
[1.3] - Registers the single file log.txt in the Output directory.
2. Artifacts with view types
Rule Example Type 2 - Artifact view types
[2.1] nunit | Output\test*.xml [2.2] image | Output\**.png
[2.1] - Registers all files that start with "test" and end with ".xml" in and only in the Output directory as artifacts and registers them as viewable by the nunit viewer.
[2.2] - Registers all files with the ".png" extension in the Output directory and all directories underneath it as artifacts and registers them as viewable by the image viewer.