1) Plan Artifacts configuration:
Note: Also tried location as “clover” and copy pattern as “**/*.xml” & “**/*.*” for clover report.
2) Plan Clover configuration:
3) Maven Task Configuration:
4) Bamboo Build Metadata maven command (which is executed by Bamboo different than what I configured above screen):
/usr/local/maven/apache-maven-2.2.1/bin/mvn -Djava.io.tmpdir=/tmp/COVERAGE-REGCODECOVER-JOB1 clean clover2:instrument test clover2:aggregate clover2:clover -P cloverCoverage clean com.atlassian.maven.plugins::maven-clover2-plugin:setup verify com.atlassian.maven.plugins::maven-clover2-plugin:aggregate com.atlassian.maven.plugins::maven-clover2-plugin:clover -Dmaven.clover.generateJson=false -Dmaven.clover.licenseLocation=/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/.clover/clover.license
5) Error in build log and no report is generating: bamboo is looking clover.xml in incorrect location
16-Feb-2012 17:28:19 / Results :16-Feb-2012 17:28:19
16-Feb-2012 17:28:19 / Tests run: 230, Failures: 0, Errors: 0, Skipped: 16
16-Feb-2012 17:28:19
16-Feb-2012 17:28:20 / [INFO] [war:war {execution: default-war}]
16-Feb-2012 17:28:20 / [INFO] Packaging webapp
16-Feb-2012 17:28:20 / [INFO] Assembling webapp[diamond-service] in [/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/diamond]
16-Feb-2012 17:28:20 / [INFO] Processing war project
16-Feb-2012 17:28:20 / [INFO] Copying webapp resources[/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/src/main/webapp]
16-Feb-2012 17:28:29 / [INFO] Webapp assembled in[8658 msecs]
16-Feb-2012 17:28:30 / [INFO] Building war: /home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/diamond.war
16-Feb-2012 17:28:34 / [INFO] ------
16-Feb-2012 17:28:34 / [INFO] Building Diamond Maven Webapp
16-Feb-2012 17:28:34 / [INFO] task-segment: [com.atlassian.maven.plugins::maven-clover2-plugin:aggregate] (aggregator-style)
16-Feb-2012 17:28:34 / [INFO] ------
16-Feb-2012 17:28:34 / [INFO] [clover2:aggregate {execution: default-cli}]
16-Feb-2012 17:28:34 / [INFO] ------
16-Feb-2012 17:28:34 / [INFO] Building Diamond Maven Webapp
16-Feb-2012 17:28:34 / [INFO] task-segment: [com.atlassian.maven.plugins::maven-clover2-plugin:clover]
16-Feb-2012 17:28:34 / [INFO] ------
16-Feb-2012 17:28:34 / [INFO] [clover2:clover {execution: default-cli}]
16-Feb-2012 17:28:35 / [INFO] Using /default-clover-report descriptor.
16-Feb-2012 17:28:35 / [INFO] Using Clover report descriptor: /tmp/COVERAGE-REGCODECOVER-JOB1/mvn4365926414676171960resource
16-Feb-2012 17:28:36 / [INFO] Clover Version 3.1.3, built on January 17 2012 (build-845)
16-Feb-2012 17:28:36 / [INFO] Loaded from: /home/gopigadu/.m2/repository/com/cenqua/clover/clover/3.1.3/clover-3.1.3.jar
16-Feb-2012 17:28:36 / [INFO] Clover: Commercial License registered to Disney Interactive Media Group.
16-Feb-2012 17:28:36 / [INFO] Clover is enabled with initstring '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/clover.db'
16-Feb-2012 17:28:36 / [WARNING] Clover historical directory [/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/history] does not exist, skipping Clover historical report generation ([/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/site/clover])
16-Feb-2012 17:28:36 / [INFO] Clover Version 3.1.3, built on January 17 2012 (build-845)
16-Feb-2012 17:28:36 / [INFO] Loaded from: /home/gopigadu/.m2/repository/com/cenqua/clover/clover/3.1.3/clover-3.1.3.jar
16-Feb-2012 17:28:36 / [INFO] Clover: Commercial License registered to Disney Interactive Media Group.
16-Feb-2012 17:28:37 / [INFO] Loading coverage database from: '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/clover.db'
16-Feb-2012 17:28:38 / [INFO] Writing HTML report to '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/site/clover'
16-Feb-2012 17:28:55 / [INFO] Done. Processed 55 packages in 16644ms (302ms per package).
16-Feb-2012 17:28:55 / [INFO] Clover Version 3.1.3, built on January 17 2012 (build-845)
16-Feb-2012 17:28:55 / [INFO] Loaded from: /home/gopigadu/.m2/repository/com/cenqua/clover/clover/3.1.3/clover-3.1.3.jar
16-Feb-2012 17:28:55 / [INFO] Clover: Commercial License registered to Disney Interactive Media Group.
16-Feb-2012 17:28:55 / [INFO] Clover is enabled with initstring '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/clover.db'
16-Feb-2012 17:28:55 / [WARNING] Clover historical directory [/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/history] does not exist, skipping Clover historical report generation ([/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/site/clover/clover.xml])
16-Feb-2012 17:28:55 / [INFO] Clover Version 3.1.3, built on January 17 2012 (build-845)
16-Feb-2012 17:28:55 / [INFO] Loaded from: /home/gopigadu/.m2/repository/com/cenqua/clover/clover/3.1.3/clover-3.1.3.jar
16-Feb-2012 17:28:55 / [INFO] Clover: Commercial License registered to Disney Interactive Media Group.
16-Feb-2012 17:28:57 / [INFO] Loading coverage database from: '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/clover.db'
16-Feb-2012 17:28:58 / [INFO] Writing report to '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/site/clover/clover.xml'
16-Feb-2012 17:28:58 / [INFO] ------
16-Feb-2012 17:28:58 / [INFO] BUILD SUCCESSFUL
16-Feb-2012 17:28:58 / [INFO] ------
16-Feb-2012 17:28:58 / [INFO] Total time: 14 minutes 23 seconds
16-Feb-2012 17:28:58 / [INFO] Finished at: Thu Feb 16 17:28:58 PST 2012
16-Feb-2012 17:28:58 / [INFO] Final Memory: 88M/452M
16-Feb-2012 17:28:58 / [INFO] ------
16-Feb-2012 17:28:58 / Parsing test results...
16-Feb-2012 17:29:06 / Finished task 'Maven 2.x'
16-Feb-2012 17:29:06 / Running post build plugin 'Artifact Copier'
16-Feb-2012 17:29:06 / Publishing an artifact: Diamond War
16-Feb-2012 17:29:23 / Finished publishing of artifact Job artifact: [Diamond War], pattern: [**/*.war] in 17s
16-Feb-2012 17:29:23 / Publishing an artifact: Clover Report (System)
16-Feb-2012 17:29:23 / Finished publishing of artifact Job artifact: [Clover Report (System)], pattern: [target/site/clover/clover.xml] in 0s
16-Feb-2012 17:29:23 / Running post build plugin 'NCover Results Collector'
16-Feb-2012 17:29:23 / Running post build plugin 'Artifactory Release Management Staging'
16-Feb-2012 17:29:24 / Running post build plugin 'Artifactory Build Info Copier'
16-Feb-2012 17:29:24 / Running post build plugin 'Artifactory Gradle Properties Info Copier'
16-Feb-2012 17:29:24 / Running post build plugin 'Clover Results Collector'
16-Feb-2012 17:29:24 / Failed to execute plugin 'Clover Results Collector' with error: No file matches the specified pattern:target/site/clover/**/clover.xml
16-Feb-2012 17:29:24 / Running post build plugin 'Cleanup Build Processor'
16-Feb-2012 17:29:24 / Finalising the build...
16-Feb-2012 17:29:24 / Stopping timer.
16-Feb-2012 17:29:24 / Build COVERAGE-REGCODECOVER-JOB1-34 completed.
16-Feb-2012 17:28:13 / Running on server: post build plugin 'NCover Results Collector'
16-Feb-2012 17:28:13 / Running on server: post build plugin 'Clover Delta Calculator'
16-Feb-2012 17:28:13 / Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Feb-2012 17:28:13 / Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Feb-2012 17:28:13 / All post build plugins have finished
16-Feb-2012 17:28:13 / Generating build results summary...
16-Feb-2012 17:28:13 / Saving build results to disk...
16-Feb-2012 17:28:14 / Indexing build results...
16-Feb-2012 17:28:14 / Finished building COVERAGE-REGCODECOVER-JOB1-34.
Edit Plan