Link Bitbucket Account¶
The following command links your Bitbucket account to your Simplifyd account:
simplifyd link bitbucket
This command opens up a browser to complete the process. You would be required to log into your Bitbucket account if you aren't already logged in and authorize access to your Bitbucket account by Simplifyd.
Simplifyd needs access to pull repos and deploy them. It also allows for automatic deploys when you push code to Bitbucket.
List Linked Bitbucket Accounts¶
After your Bitbucket account has been linked, you can confirm this by running the following command:
simplifyd list gitAccounts
List Workspaces for Bitbucket Account¶
Bitbucket has the concept of workspaces. Bitbucket repos are created and listed under workspaces.
To list all workspaces associated with your Bitbucket account, run the following command:
simplifyd list bitbucketWorkspaces
List Repos for Bitbucket Workspace¶
To list all repos associated with your Bitbucket account, run the following command:
simplifyd list bitbucketRepos