インデックス![]()
ダウンロード (PDF、HTML および XML 形式)
[Bamboo Knowledge Base Home]
Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too. 
![]()
This page contains instructions on enabling and configuring the Atlassian Clover plugin for a job in Bamboo.
To enable the Clover plugin on a job:
[Use Clover to collect Code Coverage for this build (Clover を使用してこのビルドのコード カバレッジを収集する)] を選択して、次の設定を指定します。
| 設定 | 説明 |
|---|---|
| このビルドに Clover を自動的に統合する | You will need to provide a Clover license (evaluation licenses are available), unless this has been configured globally in the Administration panel (Administration > Plugins > Clover Plugin). |
| Generate a Clover Historical Report (Clover 履歴レポートを生成する) | 現在のカバレッジ結果を以前の Clover コード カバレッジ レポートと比較して表示します。 |
| Generate a JSON report (JSON レポートを生成する) | アプリまたは外部レポート ビューに組み込める形式で Clover 結果を提供します。 |
| Use plan-defined Clover license key (プランに定義された Clover ライセンス キーを使用する) | 該当する特定のプランに対してグローバル Clover ライセンスをオーバーライドします。 |
| Clover is already integrated into this build (Clover はこのビルドに統合済み) | すでにレポートを生成するように Clover-for-Ant または Clover-for-Maven を設定している場合にこのオプションを使用します。 |
| Clover XML Location (Clover XML の場所) | Bamboo における Clover の XML レポート ファイルの参照場所を指定します。プランのルート ディレクトリを基準とした相対ファイル パスを指定してください (例: target/site/clover/clover.xml |
Screenshot: Enabling Clover for a job
8 Comments
Anonymous
May 09, 2011When I choose "Automatically integrate Clover..." and my Maven2 goals are just clean and test (ie mvn clean test) bamboo decides that instead it will run (clean test clean clover2:setup verify)
And the problem is that my build server is currently behind a firewall, and is not available for our selenium server to access, so "verify" will always hang. But I dont want verify to run!
How can I integrate clover, but not have Bamboo decide it will run Verify anyway???
Anonymous
Aug 16, 2011Just disable automatic clover integration and add the appropriate goals to your Maven task command line. For example, add "clean clover2:setup test".
Anonymous
Aug 04, 2011That example is an absolute path.
Anonymous
Oct 18, 2011This doesn't seem to line up with Bamboo 3.3 at all. There is no Configuration tab once on the plan configuration page..
Anonymous
Oct 18, 2011It's now located on any "job" configuration > miscellaneous
Navigate from plan > stages > default stage > default job
Jim Bethancourt
Nov 09, 2011Is the Clover plugin / integration available for Atlassian OnDemand?
Thanks,
Jim
dushan abeyruwan
Dec 16, 2011Hi I enabled clover coverage but I CAN NOT see detail dashbord getting exported to the clover coverage it has view just few details like Test Coverage/ Build Statistics getting displyed,(I found out that detail dashboard details are at target/site/clover/***)
how can I enable my plan to export this dashboard...(I have tried "clover is already integrated ......" option) ? why this is soo buggy
Greg Arakelian
Jan 05, 2012I'm having the same problem. Did you ever resolve this?