[Bamboo Cloud docs]
[Bamboo Knowledge Base]
Phing is the PHP project build system or build tool based on Apache Ant. This page describes how to configure a Bamboo task to use Phing. See Configuring a builder task for an overview of Bamboo builder tasks.
To configure a Phing task:
Complete the following settings:
| タスクの説明 | A description of the task, which is displayed in Bamboo. |
| このタスクを無効化 | オンまたはオフにすることで、選択的にこのタスクを実行します。 |
| 実行可能ファイル | The Phing executable that is available to perform the task. The executable that you |
| Targets | The Phing targets that you want this Bamboo task to execute (e.g. clean build test). |
| ビルド ファイル | The name of your existing build file (by default build.xml). |
| オプション | You can include any additional Phing command lines switches that you wish to use here. |
| Working Sub Directory | (オプション) Bamboo が実行ファイルを実行する、ジョブのルート ディレクトリに相対的な代替サブディレクトリ。ルート ディレクトリには、ジョブの構成済みソース リポジトリから確認されたものがすべて含まれます。このフィールドを空白のまま残した場合、Bamboo はルート ディレクトリでビルド ファイルを検索します。このオプションは、サブディレクトリ内にビルド スクリプトがあり、実行可能ファイルをそのサブディレクトリ内から実行する必要がある場合に便利です。 |
| Look for test result files? | Check this box to tell Bamboo to look for test results. Test results must be in JUnit XML format, |
| Specify custom results directory | Specify the directory, relative to the root directory, where test results will be created. You can use patterns such as **/test-reports/*.xml. Bamboo requires test results to be in JUnit XML format. <bamboo-home>/xml-data/build-dir/JOB_KEY/<cvs-module>. |