Action Source Control
Plastic SCM Operations
Performs basic Plastic SCM operations like Add, Checkin, Update, etc. Requires the 'cm' command-line tool.
Node IDPlasticScmOperationsAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Workspace Path workspace_path | file_picker | Yes | — | The local file path to the Plastic SCM workspace. For 'Create Workspace', this is the parent directory. |
Operation operation | enum | Yes | Add | The Plastic SCM operation to perform. |
Asset Paths asset_paths | array_string | Yes | — | The files within the plastic workspace to act on |
Workspace Name workspace_name | string | No | — | The name of the new workspace. Required for 'Create Workspace'. |
Repository Spec repository_spec | string | No | — | The repository to create a workspace from (e.g., "myrepo@cloud"). Required for 'Create Workspace'. |
Checkin Comment checkin_comment | textarea | No | — | The comment for the checkin. Required for 'Checkin' operation. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An execution signal. For 'Add', 'Remove', and 'Undo', this can carry a list of file paths. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Result output0 | object | plastic_result | Emits a data object with details from the operation, like a command status. |