Create a bitbucket context.
Git context are used to clone repositories during pipeline execution.
Learn more about git context here: https://codefresh.io/docs/docs/codefresh-yaml/steps/git-clone/.
To create bitbucket context you need to generate application password from here: https://bitbucket.org/account/user/{YOUR-USERNAME}/app-passwords.
codefresh create context git bitbucket <name>
Option | Alias | Type | Default | Description |
---|---|---|---|---|
--sharing-policy | string | AccountAdmins | Set the sharing policy for git contexts Possible values: - AccountAdmins - AllUsersInAccount |
|
--behind-firewall | boolean | false | Set to true to mark this context with behind firewall flag | |
--help | Print help information | |||
--app-password | -a | Application password generated in bitbucket. required |
||
--username | -u | username that has permissions to use application password. required |