Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are three types of rules in Continua:

Workspace Rules

Workspace rules allow you to control which files in the work space are synced or not synced between the server and the agent. Rules are split into include rules and exclude rules:

Include Rules

Include rules follow the simple syntax: <server_pattern> <operator> <agent_pattern>

The operator specifies the direction of the rule and the action to take when moving the file. The table below lists the operators and their behavior:

OperatorBehavior
>Match files on the server using the server_pattern and copy them to the destination specified by the agent_pattern. Preserves paths.
->Match files on the server using the server_pattern and copy them to the destination specified by the agent_pattern. Doesn't preserve paths.
>>Match files on the server using the server_pattern and copy them to the destination specified by the agent_pattern. Makes sure the destination directory is empty.
< 
<- 
<< 

 

 

 

Exclude Rules

 

 

 

A workspace rule is a single line that describes the source location of a file or files you want to move, the destination you want them moved to and the behavior of the move. A rule contains 3 basic constructs, a server pattern, an operator and an agent pattern.

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. 

Repository Rules

 

 

 

Artifact Rules

 

Artifacts

Todo

Agent Requirements

Todo