Bitbucket is getting a new navigation

We’re rolling out these changes, so the documentation may not match your experience in the Bitbucket Cloud app. Read about the new Bitbucket navigation

VS Code での Bitbucket Cloud パイプライン

Atlassian for VS Code は Atlassian Labs プロジェクトとして公開されています。Atlassian Labs アプリにはユニークで便利な機能がありますが、Atlassian はお客様によるこれらのアプリの使用について責任を負いません。

アトラシアン サイドバー内の VS Code 拡張機能は、現在の Bitbucket アカウントに接続されている各リポジトリの Bitbucket プル リクエスト、パイプライン、および作業項目を示すツリー ビューを提供します。 

The tree views can be disabled/enabled from the Atlassian Settings. You can also configure how often the tree views auto-refresh and the frequency of new pull request notifications. You can also manually refresh the tree views at any time by selecting the refresh icon on each tree view's title bar.

VS Code で Bitbucket パイプラインを表示する

  1. Select the Atlassian logo on the leftmost sidebar. This opens the Atlassian sidebar which displays any Jira work items and Bitbucket pull requests, pipelines, and work items connected to your current Bitbucket or Jira account. These panels should be displayed by default; if not, select the title bar of each to open and display any work items, pull requests or pipelines.

  2. Select a build in the Pipelines tree to display the Build Details screen, which displays the build logs.

新しいパイプラインを開始する

Pipelines ツリー ビューでブランチ名を右クリックするか、任意のソース コード エディターで提供される右クリックのコンテキスト メニューを使用して、新しいパイプラインを開始できます。

Bitbucket Pipelines 構成ファイルを編集する

拡張機能は、bitbucket-pipelines.yml ファイルの編集のための Intellisense コード補完サポートを提供します。

bitbucket-pipelines.yml という名前のファイルを開き、入力を開始します。Windows の場合は CTRL+space (Mac の場合は Command+space) を押すといつでも、使用可能な補完オプションを表示できます。

補完オプションはコンテキストに依存し、ファイル内でのカーソルの位置に関連します。

補完オプションが表示されない場合は、カーソルが適切にインデントされていることを確認してください。YAML は空白に非常に敏感であり、補完は適切なインデントでのみ表示されます。

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。