Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using Clover with Bamboo on maven2 builds

Getting below error when configuring One-click Clover Integration on Bamboo plan and no report is generating.
Failed to execute plugin 'Clover Results Collector' with error: No file matches the specified pattern:target/site/clover/**/clover.xml

Following are the steps performed for integrating clover
1) From Bamboo Plan/Miscellaneous - For Code coverage I have selected option "Automatically integrate Clover into this build.

2) Added below pluing in maven 2 porject pom.xml
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<version>3.1.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>

3) running maven command: mvn test clover2:setup clover2:aggregate clover2:clover -P cloverCoverage

4) Specified clover results as artifacts in the plan's artifacts configuration.(target/site/clover/clover.xml)

in my execution command i don't have 'clean' phase however my traget is getting cleaned as per logs. Please see below. which could be the reason 'Clover Results Collector' is thorowing error /No file matches the specified pattern:target/site/clover/**/clover.xml'. Please advise

15-Feb-2012 20:22:23 [INFO] Clover Version 3.1.3, built on January 17 2012 (build-845)
15-Feb-2012 20:22:23 [INFO] Loaded from: /home/gopigadu/.m2/repository/com/cenqua/clover/clover/3.1.3/clover-3.1.3.jar
15-Feb-2012 20:22:23 [INFO] Clover: Commercial License registered to Disney Interactive Media Group.
15-Feb-2012 20:22:26 [INFO] Loading coverage database from: '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/clover/clover.db'
15-Feb-2012 20:22:28 [INFO] Writing report to '/home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target/site/clover/clover.xml'
15-Feb-2012 20:22:29 [INFO] [clean:clean {execution: default-clean}]
15-Feb-2012 20:22:29 [INFO] Deleting directory /home/gopigadu/p4Workspace/p4-dol/DiamondReg/trunk/diamond-service/target



Bamboo version: 3.4.3, Bamboo-Colver-plugin: 3.4.3. attached full llog. appreciate your help

1 answer

Hi Gopi,

If you're using a one-click integration and have the "Automatically integrate Clover into this build" option switched on, then you should not at the same time configure additional, manual integration. Therefore steps 2-4 are obsolete.

Regards
Marek

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Learn how to request and manage app requests in the Marketplace

G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...

43 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you