transfer pushes the files in the current DropZone to all the _Endpoint_s in the current Endpoint set. transfer takes no parameters – all the files in the DropZone are pushed to every Endpoint in the current Endpoint set. You can limit the Endpoint set by placing the transfer in an if block to reduce the Endpoint set to those matching the specified expression. You can also use remove to remove files from the DropZone before calling transfer.
transfer is generally only required when writing custom actions. It is called implicitly during a conventional deployment. A pre action on a Component can be used to modify the drop zone before the Component is deployed.
Example: Checkout files and transfer them to all the _Endpoint_s in the current Endpoint set.
checkout(repository: "myrep", pattern: "\*.exe"); transfer;