I’m attempting to register install binaries as artifacts but cannot figure out how to specify them correctly. Here is my ‘Artifacts’ config for my build stage:
#Artifact rules
#---------------------------------------------------
#Register all variables as artifacts
installs | Output**.setup.exe
When I attempt to validate this I get the following error:
[Sic]Viaewer Type specified does not exist
I’m assuming this refers to the ‘installs’ part but I cannot find anywhere (no links in help) as to were these are defined. It would be great to know
what the actually valid default values are!
Simon Kennedy
The only valid user specified viewer type at this time is nunit (we plan to make this pluggable in the future). For now, just leave off the viewer type, it’s not required.
Output**.setup.exe
should work. Make sure you also specify workspace rules to get the files copied back to the server workspace. The aritifact rules apply to the server workspace, not the agent’s workspace.
Thanks Vincent,
So those binaries will be copied or be accessible somewhere after the step/stage is complete?
Simon Kennedy
Workspace rules apply before/after a stage. they are how we copy files (other than the source code) between the server’s workspace and the agents workspace.
Ok, Thanks Vincent.