...
Workspace rules allow you to control which files in the work space are synced or not synced between the server and the agent. Workspace rules are not used to move files from external locations into the workspace. For getting files into your workspace, use the Copy Action or Repository Rules. Rules are split into include rules and exclude rules:
...
Scenarios and examples of workspace include rules can be found on the Workspace Rules page.
Exclude Rules
...
An exclude rule is
...
defined by putting a dash ( - ) at the start of the rule. An exclude rule only needs to specify an operator (for direction) and a source pattern. The operator type doesn't matter, as long as you get the direction of it correct. The destination pattern is irrelevant because the exclude source pattern is applied to all files captured by all include patterns.
Scenarios and examples of workspace include rules can be found on the Workspace Rules page.
Repository Rules
Code Block |
---|
Output\binaries\*.exe > |
Note: Workspace rules are not used to move files from external locations into the workspace. For getting files into your workspace, use the Copy Action or Repository Rules.
...
Artifact Rules
Artifacts
Todo
Agent Requirements
Todo