The instructions on this page describe how to configure a Mercurial source repository.

On this page:

Configuring a Mercurial Source Repository

Navigate to the source repository settings for a Plan or Job, as described on Specifying the Source Repository for a Plan. Choose to add a new or edit an existing repository and select Mercurial in the Source Control drop-down. 

Mercurial gives you the following options:

リポジトリ URL

Type the full path to your Mercurial repository (eg: git://bitbucket.org/atlassian/bamboo-git-plugin.git)

有効な URL の形式は次のとおりです。

  • local/filesystem/path[#revision]
  • file://local/filesystem/path[#revision]
  • http[s]://[user[:pass]@]host[:port]/[path][#revision]
  • ssh://[user[:pass]@]host[:port]/[path][#revision]

(for further references visit Mercurial documentation)

ブランチ  Type the name of the relevant branch (or tag) you want to work on. Leave empty to work on default branch.
ユーザ名Type the username (if any) required to access the repository.
認証タイプパスワードChoose password if you want to authenticate with a username and password.
Keyfile with passphrase (パスフレーズのあるキーファイル)Upload a private key and provide the corresponding SSH Passphrase.
Keyfile without passphrase (パスフレーズのないキーファイル)

This type of authentication is similar to Keyfile with passphrase. However, authenticating without a passphrase is a bit faster. You will still have to Upload a private key.

Default Mercurial credentials (既定の Mercurial 資格情報)Bamboo では、既定の hg 認証が使用されます。このオプションは、たとえば .ssh/config で定義されている SSH サーバーや有効な SSH ID ファイルなどを使用して手動で Bamboo サーバーを設定した場合に使用します。

詳細オプション

コマンド タイムアウト

Type the number of minutes bamboo should wait for hg commands to finish. This is useful to cut hung Mercurial processes. On the slower networks you may consider increasing default timeout to allow bamboo making initial clone of mercurial repository.

詳細なログTurns on --verbose and --debug options in hg commands and pass the output to build logs. Use that option if you encounter problems in Bamboo Mercurial behaviour.
POM ファイルの場所

(上記で定義した) Mercurial の [リポジトリ URL] のルートを基準にして、プロジェクトの pom.xml ファイルへのパスを入力します。

(Maven 2 プロジェクトをインポートする場合にのみ利用可能) 


Screenshot above: Source Repository — Mercurial

注意

関連トピック

Specifying the Source Repository for a Plan
Specifying the Source Repository for a Job