-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Clover integration
-
None
-
0
If a Script builder is used, Bamboo will not create the clover.xml file if the Automatic Clover integration is enabled.
Bamboo should warn or not allow the Automatic Clover integration to be enabled if the Builder type is not Maven or Ant.
Non Ant/Maven builds should use the Traditional Clover integration, providing the clover.xml created manually.
Exception reported if the Script builder is used:
INFO | jvm 1 | 2011/04/28 19:21:02 | 2011-04-28 19:21:02,812 INFO [BAM::OctAgent::Agent:pool-16-thread-1] [AbstractBuilder] Build process for 'PROJ - Plan' returned with return code = 0 INFO | jvm 1 | 2011/04/28 19:21:03 | 2011-04-28 19:21:03,781 INFO [BAM::OctAgent::Agent:pool-16-thread-1] [ExecuteBuildTask] Running post build plugin 'NCover Results Collector' INFO | jvm 1 | 2011/04/28 19:21:03 | 2011-04-28 19:21:03,781 INFO [BAM::OctAgent::Agent:pool-16-thread-1] [NCoverBuildProcessor] inside NCoverBuildProcessor.call() INFO | jvm 1 | 2011/04/28 19:21:03 | 2011-04-28 19:21:03,781 INFO [BAM::OctAgent::Agent:pool-16-thread-1] [ExecuteBuildTask] Running post build plugin 'Clover Results Collector' INFO | jvm 1 | 2011/04/28 19:21:03 | 2011-04-28 19:21:03,781 WARN [BAM::OctAgent::Agent:pool-16-thread-1] [ExecuteBuildTask] Failed to execute plugin with classclass com.atlassian.bamboo.builder.coverage.CloverBuildProcessor : PROJ-PLAN-42 INFO | jvm 1 | 2011/04/28 19:21:03 | java.lang.Exception: No file matches the specified pattern:clover\**\clover.xml INFO | jvm 1 | 2011/04/28 19:21:03 | at com.atlassian.bamboo.builder.coverage.CloverBuildProcessor.call(CloverBuildProcessor.java:108) INFO | jvm 1 | 2011/04/28 19:21:03 | at sun.reflect.GeneratedMethodAccessor385.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) INFO | jvm 1 | 2011/04/28 19:21:03 | at $Proxy186.call(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:110) INFO | jvm 1 | 2011/04/28 19:21:03 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:70) INFO | jvm 1 | 2011/04/28 19:21:03 | at sun.reflect.GeneratedMethodAccessor335.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) INFO | jvm 1 | 2011/04/28 19:21:03 | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) INFO | jvm 1 | 2011/04/28 19:21:03 | at $Proxy185.call(Unknown Source) INFO | jvm 1 | 2011/04/28 19:21:03 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)