Create a stash 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 Stash context you need to provider username and password.
codefresh create context git stash <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 | |||
--username | -u | Username. required |
||
--password | -p | Password. required |
||
--api-url | -a | URL of the api. required |