Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Error while building Project with emma and Sonar Report
icon5.gif  Error while building Project with emma and Sonar Report [message #1066304] Tue, 02 July 2013 06:00 Go to next message
Laxmikant Chhotray is currently offline Laxmikant ChhotrayFriend
Messages: 1
Registered: July 2013
Junior Member
Am facing issues while building project in Hudson 3 (latest Version).

Hudson Emma Plugin version : 1.29-h-1

Sonar Emma Plugin : 1.3

While Buiding getting the below error.Please specify what version I need to put so that my build gets successful(ie which version of above plugins should i use so that the build is passed).


reports: /u01/TTG/testhudson/.hudson/jobs/DeviceManager/workspace/DeviceManagerTestTest/bin
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1:11.949s
INFO: Final Memory: 13M/213M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: java.io.IOException: cannot read [/u01/TTG/testhudson/.hudson/jobs/DeviceManager/workspace/DeviceManagerTestTest/bin/coverage-0.ec]: created by another EMMA version [0.0.0]
ERROR: Caused by: cannot read [/u01/TTG/testhudson/.hudson/jobs/DeviceManager/workspace/DeviceManagerTestTest/bin/coverage-0.ec]: created by another EMMA version [0.0.0]
ERROR:
ERROR: To see the full stack trace of the errors, re-run Sonar Runner with the -e switch.
ERROR: Re-run Sonar Runner using the -X switch to enable full debug logging.
Archiving artifacts
Recording Emma reports /u01/TTG/testhudson/.hudson/jobs/DeviceManager/workspace/DeviceManagerTestTest/bin/coverage.xml



Help will be appreciated.
Re: Error while building Project with emma and Sonar Report [message #1066427 is a reply to message #1066304] Tue, 02 July 2013 15:47 Go to previous message
Bob Foster is currently offline Bob FosterFriend
Messages: 85
Registered: January 2013
Member
The Hudson Emma plugin doesn't generate the reports, it reads the reports generated by Emma. Did you use the emma:emma goal as a build step? That will use emma-maven-plugin:1.0-alpha-3. According to this http://docs.codehaus.org/display/SONAR/Emma+Plugin all versions of the Sonar Emma plugin 1.1+ are compatible with that. I don't have Sonar, so can't test it.

When working with Emma and Sonar, it's probably best to get your build working with Sonar outside of Hudson. Running it in Hudson shouldn't change anything.
Previous Topic:Setting HUDSON_BUILDS and HUDSON_WORKSPACES
Next Topic:Problem with JNA Native Support Plugin
Goto Forum:
  


Current Time: Fri Apr 19 06:54:32 GMT 2024

Powered by FUDForum. Page generated in 0.01999 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top