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

On this page:

Configuring a Subversion 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 Subversion in the Source Control drop-down. 

Subversion gives you the following options:

リポジトリ URL

The location of your Subversion repository (e.g.

http://svn.collab.net/repos/svn/trunk
)

(info) Note that you can use global variables in this field (see Using Global or Build-specific Variables).

(info) If you are importing a Maven 2 Project, this location should contain your project's pom.xml file.

認証タイプパスワードChoose this option if you want to authenticate with a username and password.
ssh

If you choose to authenticate via SSH, you will have to provide the following details:

Private Key — The absolute path of your SSH private key
Passphrase — The passphrase for your SSH private key

(info) You need to configure the path of the private key located in Bamboo server. This will be used by Bamboo server (for change detections) and by local agents.

(info) If you are planning to use remote agents, the ssh private key file has to be copied to the agent box into manually (you might want to use the default location ~/.ssh).

(info) Bamboo server sends only the URL of the SVN repository to the remote agent (no public/private key is being sent to the remote agent).

SSL Client Certificate

If you choose to authenticate via SSH, you will have to provide the following details:

Private Key — The absolute path of your SSL client certificate
Passphrase — The passphrase for your SSL client certificate

(info) Please note, the client certificate has to be in PKCS12 format and the client certificate file must be passphrase protected, otherwise a runtime exception is thrown by JDK security engine while opening the user key.

詳細オプション

Quiet Period

Quiet Period — This field will only display if 'Enable Quiet Period:' has been selected. This setting is used to avoid starting a build while someone is in mid-checkin. Bamboo will only initiate a build for this Plan when no more changes are detected within the Quiet Period following the last known change. Type the number of seconds Bamboo should wait.

Maximum Retries — You can specify how many times Bamboo should check for new changes using the Quiet Period parameter before initiating a build. For example, if you have set the 'Quiet Period' to '10' seconds then Bamboo will check if a checkout has occurred in the last 10 seconds. If you have then specified 'Maximum Retries:' as '5', then Bamboo will perform this check five times before initiating the build, regardless of any activity during the Quiet Period of the last check.

 (Only available when configuring an existing Plan) 

Detect Changes in Externals (外部項目の変更を検出)

Select this check box if your Subversion repository uses svn:externals to link to other repositories (note that your externals must be in the root of the checkout directory, not in a subdirectory). Please note that you only need to select this check box if you require Bamboo to detect changes in the externals. If your externals references a particular (static) revision, you do not need to check this box.

 


Screenshot above: Source Repository — SVN

注意

関連トピック

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