Bitbucket Pipelines VS Code Extension
A small extension for integrating Bitbucket Pipelines with VS Code.
Features
- Adds button to status bar for fetching most recent Pipelines for the repo
- Opens Pipelines in your browser
- Will alert of failed or successful builds within VSCode (if enabled)
Installation
Simply search for this extension in the VSCode extensions market place ("Bitbucket Pipelines") and click install!
Creating an App Password
To use this addon you will need to create an App Password for Bitbucket. To do this:
- Head to your Bitbucket settings page
https://bitbucket.org/account/user/{your_user}/
- Click
App Passwords -> Create App Password
- Select the
Pipelines read permission
- Also select the
Webhooks read and write and Repositories read if you would like notifications.
- Hit
Create and copy the generated password to your clipboard
- When you next open VSCode you should be prompted for your username and App Password
Configuration
This extension can be configured with the folllowing settings from your user settings
(CMD + SHIFT + P and search for Preferences Open User Settings )
- pipelines.username - The default username to use to authenticate with Bitbucket (leave blank to be prompted)
- pipelines.password - The default App password to use to authenticate with Bitbucket (Not reccomended).
- pipelines.repository - The default repository to look up Pipelines in (will fetch from
package.json if not provided)
- pipelines.notificationsForBuildResults - if true will enable build notifications for all failed and successful builds
Troubleshooting
This extension logs to an output channel called "Pipelines Extension" which you can use to monitor it.
If this doesn't help, try running the "Pipelines: Clear saved credentials" command from the command pallete.
Also, make sure that your app password has the appropriate permissions for the functions you are using (see above).
Bugs
Please report any bugs, issues or feature requests here
| |