Reference - CLI - workspace
Command
./adop workspace [<options>] <subcommand>
Used for setting up workspaces to store projects.
Options
Option | |
---|---|
-w <WORKSPACE_NAME> | Sets the name for the workspace, where <WORKSPACE_NAME> is the name of the workspace that you are creating (required). |
Subcommands
create
Subcommand | |
---|---|
create [<options>] | Creates a new workspace in Jenkins. |
Option | |
-a [<ADMIN_USERS>] | Sets users with admin permissions on the workspace, where <ADMIN_USERS> is a comma separated list of users (optional) (default: blank). |
-d [<DEVELOPER_USERS>] | Sets users with developer permissions on the workspace, where <DEVELOPER_USERS> is a comma separated list of users (optional) (default: blank). |
-v [<VIEWER_USERS>] | Sets users with viewer (read-only) permissions on the workspace, where <VIEWER_USERS> is a comma separated list of users (optional) (default: blank). |
Examples [WIP]
./adop workspace -w <WORKSPACE_NAME> create [<options>]
- creates a new workspace in Jenkins.