...
Rule Example Type 1 - Simple Artifacts
Code Block |
---|
[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
Code Block |
---|
[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.