|
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 Git in the Source Control drop-down.
Git gives you the following options:
| リポジトリ URL | Type the full path to your Git repository (eg: git://github.org/atlassian/bamboo-git-plugin.git) 有効な URL の形式は次のとおりです。
| |||||||
| ブランチ | Type the name of the relevant branch (or tag) you want to work on. Leave empty to work on master branch. | |||||||
| 認証タイプ | なし | Choose none if you want to access the repository anonymously. | ||||||
| パスワード | Choose password if you want to authenticate with a username and password. | |||||||
| SSH private key | Upload a private key and provide the corresponding SSH Passphrase. | |||||||
| Use shallow clones (shallow clone を使用する) | Select this setting to allow Bamboo to perform shallow clones (i.e. history truncated to a specified number of revisions). This should increase the speed of the initial code checkouts, however if your build depends on the full repository history, we recommend that you do not use this option. Shallow clones are enabled by default. | |||||||
| POM ファイルの場所 | Type the path to your project's (Maven 2 プロジェクトをインポートする場合にのみ利用可能) | |||||||

Screenshot: Source Repository — Git
Specifying the Source Repository for a Plan
Specifying the Source Repository for a Job