Usage
The Bitbucket integration can be used with the GitRepo resource.
The Bitbucket integration can also be added directly to a step in the integrations
section.
Default Environment Variables
When you create a resource with this integration, and create a step that uses it in the inputResources
section, a set of environment variables is automatically made available.
Environment variable | Description |
---|---|
res_<resource-name>_gitProvider_url | Bitbucket API location |
res_<resource-name>_gitProvider_username | Username used to connect to Bitbucket |
res_<resource-name>_gitProvider_token | The token used to connect to Bitbucket |
When you add this integration directly to a step, a set of environment variables is automatically made available.
Environment variable | Description |
---|---|
int_<integration-name>_url | Bitbucket API location |
int_<integration-name>_username | Username used to connect to Bitbucket |
int_<integration-name>_token | The Token used to connect to Bitbucket |