このページでは、NAnt 実行可能ファイルを使用する Bamboo タスクの設定方法を説明します。

関連ページ

Ant タスクを設定する方法は次のとおりです。

  1. Navigate to the task configuration for the job (this will be the default job if creating a new plan).
  2. 目的の NAnt タスクの名前をクリックするか、タスクを新規作成する場合は [タスクを追加] > [NAnt] の順にクリックします。
  3. Complete the following settings:

    NAnt の設定
    タスクの説明A description of the task, which is displayed in Bamboo.
    実行可能ファイルThe NAnt executable that is available to perform the task. The executable that you select will become one of the task's (and so, the job's) requirements.
    You can add other executables, if required.
    ビルド ファイル
    The relevant file name (e.g. default.build). You can include variables (see Using global, plan or build-specific variables).
    Targets

    The NAnt target that you want Bamboo to execute. for example: run. You can also include variables (see Using global, plan or build-specific variables).

    オプションThe NAnt command line options that you want to include. You can also include variables (see Using global, plan or build-specific variables).
  4. 必要に応じて、環境変数と作業ディレクトリの設定を指定します。

  5. 保存をクリックします。

NAnt ビルドのコード カバレッジ収集には Clover を使用できません。Clover は Ant、Maven、Grails などの Java/Groovy ベースのプロジェクトのビルダーのみをサポートしているためです。