Back to index
Summary
Creates a new workspace.workspaceNameStringrequiredThe workspace name. agentDrivePathStringoptionalPathname to the root directory of a workspace, for use on Windows, specified with a drive letter. agentUncPathStringoptionalPathname to the root directory of a workspace, for use on Windows, specified with a UNC path. agentUnixPathStringoptionalPathname to the root directory of a workspace, for use on UNIX. credentialNameStringoptionalThe name of the impersonation credential to attach to this workspace. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. localBooleanoptionalTrue if the workspace is local .workspaceDisabledBooleanoptionalTrue means this workspace is disabled. zoneNameStringoptionalThe zone name. |
Usage
Perl
$cmdr->createWorkspace( "test-workspaceName" # workspaceName # optionals );
ectool
ectool createWorkspace \ "test-workspaceName" `# workspaceName` \ # optionals