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

関連ページ

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

  1. ジョブのタスク設定タブに移動します(新しいプランを作成するとデフォルト ジョブとなります)。
  2. 目的の MSBuild タスクの名前をクリックするか、新しくタスクを作成する場合は、タスクの追加をクリックし、MSBuild をクリックします。
  3. Complete the following settings:

    MSBuild 構成
    タスクの説明A description of the task, which is displayed in Bamboo.
    実行可能ファイル

    The MSBuild 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 name of the solution, project file or MSBuild project to execute, e.g. ExampleSolution.sln. You can include variables (see Bamboo variables).
    オプション

    The MSBuild command line options that you want to include. You can also include variables (see Bamboo variables).

  4. 必要に応じて、環境変数と作業ディレクトリの設定を指定します。

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

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