This is the documentation for Bamboo 5.7. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

You add the Source Code Checkout task to a job to configure a repository for use by just that job. For information about configure a repository for use by all the plan's jobs, or by all plans, see Linking to source code repositories.

By default, repositories are checked out to the Bamboo working directory. Using Source Code Checkout task you can:

  • Check out multiple repositories to a custom directory path in the working directory.
  • ビルドのさまざまな段階で行う複数のチェックアウトを指定できます(プランの任意の時点で、別のソース コード チェックアウト タスクをジョブに追加するだけです)。

新しいソース コード チェックアウト タスクを設定するには、次の手順に従います。

  1. タスクを実行するジョブに移動します。
  2. [Tasks (タスク)] タブをクリックし、タスク リストで既存のソース コード チェックアウト タスクを選択するか、[Add Task (タスクを追加)] ボタンを使用して新しいタスクを追加します。
  3. タスクを設定します。

    タスクの説明Bamboo で表示されるタスクの説明を入力します。
    このタスクを無効化オンまたはオフにすることで、選択的にこのタスクを実行します。
    リポジトリSelect the desired repository. If you wish to add different types of repositories, they must have been previously defined on the plan's Source Repositories tab. See Linking to source code repositories for a list of supported SCMs.
    Checkout Directory (チェックアウト ディレクトリ)タスクが実行されたときに、選択したリポジトリのコンテンツがチェックアウトされる場所です。
    Force Clean Build (クリーン ビルドを強制)以前にチェックアウトしたディレクトリを削除し、次回のビルドの前に再度チェックアウトします。これにより、ビルド時間が大幅に長くなる可能性があります。
  4. Click Add Repository, at the bottom of the 'Task' screen, to add another repository to the task. 
  5. [保存] をクリックします。

スクリーンショット: ソース コード チェックアウト タスクの設定


注意

  • ラベルなし