No Clover report in multi-module maven project

Hi All,

Our project is a multi-module maven project. I have created a new stage to execute Clover (according to the last question of troubleshooting section in Enabling the Clover add-on), but seems like Clover expects a standard maven project:

build	05-Mar-2015 20:44:55	[WARNING] The reported language of this project is none, attempting to instrument sources anyway.
build	05-Mar-2015 20:44:55	[INFO] No Clover instrumentation done on source files in: [/opt/bamboo/agent1/xml-data/build-dir/XXX-FORK6-CR/src/main/java] as no matching sources files found (JAVA_LANGUAGE)
build	05-Mar-2015 20:44:55	[INFO] No Clover instrumentation done on source files in: [/opt/bamboo/agent1/xml-data/build-dir/XXX-FORK6-CR/src/test/java] as no matching sources files found (JAVA_LANGUAGE)
build	05-Mar-2015 20:44:56	[WARNING] No Clover database found, skipping report generation
build	05-Mar-2015 20:44:56	[INFO] No report being generated for this module.
build	05-Mar-2015 20:44:56	[INFO] Using /default-clover-report descriptor.
build	05-Mar-2015 20:44:56	[INFO] Using Clover report descriptor: /tmp/mvn5516880637728429089resource
build	05-Mar-2015 20:44:56	[INFO] ------------------------------------------------------------------------
build	05-Mar-2015 20:44:56	[INFO] BUILD SUCCESS
build	05-Mar-2015 20:44:56	[INFO] ------------------------------------------------------------------------

 

The current situation is:

Bamboo ver 5.7.2 build 5716

  1. I installed Artifactory plugin, then the Maven Task 3.X task does not work, so I use Artifactory Maven 3 task instead.
  2. I want to disable IT tests in Clover, so I ran Clover with manual integration.
    I do not have Clover server, just using the Clover integrated in Bamboo.
  3. So I created a Stage containing one job for Clover.
  4. In the above job, I added tasks: 
    1. Source Code Checkout (default job)
    2. Script to save clover License to a file that will be used in step c.
    3. Artifactory Maven 3 task. See screenshot:
      (the build result is the same even if the root pom.xml was specified)
      Clover.PNG
  5. Other configuration:

    Clover1.PNGClover2.PNG
  6. Run the plan, and you will see the partial log on the top this post.

 

Can anybody tell me the solution or which step is incorrect?

Thank you in advance.

 

1 answer

0 votes

Bamboo Clover Plugin does not handle automatic Clover integration for the 'Artifactory Maven Task'. This will be fixed in Bamboo 5.9 (BAM-15711). In the meantime, you can configure manual integration.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you