tag:blogger.com,1999:blog-7210746567797143740.post7868281501340433710..comments2017-12-16T06:41:19.546-05:00Comments on Meera's Blog: Hudson + Sonar = A Perfect Match!Meera Subbaraohttp://www.blogger.com/profile/09765012286550438202noreply@blogger.comBlogger60125tag:blogger.com,1999:blog-7210746567797143740.post-25663725187447144142015-03-04T03:59:48.309-05:002015-03-04T03:59:48.309-05:00Can we configure Jenkins to run Sonar as Pre-step....Can we configure Jenkins to run Sonar as Pre-step. The build should not happen, if sonar analysis report says that there are few critical &amp; major coding issues.gopalhttps://www.blogger.com/profile/17206486968570114324noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-599828566417375412014-08-13T07:47:36.164-04:002014-08-13T07:47:36.164-04:00No, not from the dashboard. You will have to run i...No, not from the dashboard. You will have to run it using your Maven plugin or sonar-runner.Meera Subbaraohttps://www.blogger.com/profile/09765012286550438202noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-61359307579897239082014-08-13T05:27:19.167-04:002014-08-13T05:27:19.167-04:00Hi Meera,
Is it possible to exclude the modules fr...Hi Meera,<br />Is it possible to exclude the modules from the sonar dash board?<br />I was trying multiple ways. It doesn&#39;t work for me...<br /><br />Is there any any chance please let me...<br /><br />Thanks in Advance....!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-50209588295527090012014-06-27T16:05:57.003-04:002014-06-27T16:05:57.003-04:00Hello Meera,
We have written on tool to do some ce...Hello Meera,<br />We have written on tool to do some certain quality check on code. Now we want to integrate that tool to sonar and push the result on sonar dashboard. Just wanted to know how to do it. Let&#39;s say my tool output is in xml format. Preety singhhttps://www.blogger.com/profile/13905197841668203685noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-18538970845774150832014-06-07T11:22:07.046-04:002014-06-07T11:22:07.046-04:00Hi,
Thanks. This was a helpful document. But, I h...Hi,<br /><br />Thanks. This was a helpful document. But, I have one problem. My project is not built using Maven, so I dont have a pom.xml with me. For this reason the sonar job fails with the following exception. I am running under tight deadlines, so any immediate assistance would be greatly appreciated.<br /><br />[FATAL] Non-readable POM E:\Tools\CI\AutomatedInstaller\pom.xml: E:\Tools\CI\manooj muralihttps://www.blogger.com/profile/05772632295875490336noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-78952759043559511142013-10-16T08:31:44.911-04:002013-10-16T08:31:44.911-04:00SONAR ANALYSIS FAILED
----------------------------...SONAR ANALYSIS FAILED<br />------------------------------------------------------------------------<br />FATAL: Sonar runner executable was not found for Sonar Runner<br />Skipping sonar analysis due to bad build status FAILURE<br />[DEBUG] Skipping watched dependency update for build: TestHybris #21 due to result: FAILURE<br />Finished: FAILUREAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-18622441540062121732013-03-18T00:57:47.500-04:002013-03-18T00:57:47.500-04:00Hi Meera,
I am getting below error while running ...Hi Meera,<br /><br />I am getting below error while running sonar.<br /> Unable to find resource &#39;org.codehaus.mojo:sonar-maven-plugin:maven-plugin:1.0&#39;<br /><br />A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository<br /><br />Try downloading the file manually from the project website.<br /><Amit Guptahttps://www.blogger.com/profile/16792836089683023782noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-53197407408177910982013-02-11T04:25:09.957-05:002013-02-11T04:25:09.957-05:00Hello Meera!
Thanks for this quite nice article....Hello Meera! <br /><br />Thanks for this quite nice article. I am trying out to have Sonar analysis but with a slight different project configuration. <br /><br />I have two different maven projects, which are clubbed together as a single build project in Jenkins. So the common build project does checkout the two source repositories and makes the build. <br /><br />But when it comes to the Sonar Rajeshhttps://www.blogger.com/profile/04952866674699735470noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-61090932028856802572013-02-06T19:57:02.825-05:002013-02-06T19:57:02.825-05:00I am guessing the machine running Hudson, Sonar an...I am guessing the machine running Hudson, Sonar and Maven has no space. Check this link for more information:<br />http://www.ivankuznetsov.com/2010/02/no-space-left-on-device-running-out-of-inodes.htmlMeera Subbaraohttps://www.blogger.com/profile/09765012286550438202noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-62661201394871470382013-01-23T09:46:37.820-05:002013-01-23T09:46:37.820-05:00Hi Meera,
I have been working on Hudson and sonar...Hi Meera,<br /><br />I have been working on Hudson and sonar from sometime. Recently I have been facing the below posted issue. Kindly suggest what can be done.<br /><br />[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project asdc-contentservlet-parent: Can not execute Sonar: Fail to install plugin: DefaultPluginMetadata[key=findbugs,version=3.0]: halini knhttps://www.blogger.com/profile/13872817567705989413noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-48478334653038712792012-12-23T08:51:18.210-05:002012-12-23T08:51:18.210-05:00What version of Hudson and Sonar are you using?What version of Hudson and Sonar are you using?Meera Subbaraohttps://www.blogger.com/profile/09765012286550438202noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-31848791488230582822012-12-18T07:35:56.325-05:002012-12-18T07:35:56.325-05:00Hi Meera,
Thanks a lot for the detailed explanati...Hi Meera,<br /><br />Thanks a lot for the detailed explanation. Was very helpful. I have Sonar running on a remote server and have hudson configured with the plugin as you had mentioned. But when I create a job and check Sonar in the post build actions section, I am not getting the same screen as you. I have getting only a very limited fields eg: branch, MVN_OPTS, JDK etc and no place to Rakesh Vhttps://www.blogger.com/profile/18437267902689864251noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-90050496295088361202012-11-16T11:40:27.465-05:002012-11-16T11:40:27.465-05:00Hi Sunil,
I have done this sometime back in my pr...Hi Sunil, <br />I have done this sometime back in my project. <br />I followed this tutorial, hope this helps. Have your svn url, and try to follow the below. <br /><br /><br />http://www.methodsandtools.com/tools/tools.php?sonar<br /><br />--------------------<br />Use case on Apache commons-collection project<br /><br />A pre-requisite to run Sonar is to have Java and Maven installed on the Sangeetha Ganeshhttp://wat2cook.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-39562424442493612242012-11-05T04:28:10.929-05:002012-11-05T04:28:10.929-05:00Hi Meera,
Can we integrate sonar with svn? if yes...Hi Meera,<br /><br />Can we integrate sonar with svn? if yes how?<br /><br />BR,<br />Sunil GarjeSunil Garjehttps://www.blogger.com/profile/09656159366049954759noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-45398688111383268592012-07-22T04:49:17.437-04:002012-07-22T04:49:17.437-04:00NFO: Failed to load plugin - sonar because of erro...NFO: Failed to load plugin - sonar because of error Dependency maven-plugin (1.344) doesn&#39;t exist<br />ul 22, 2012 2:11:40 PM hudson.model.Hudson$5 onTaskFailed<br />EVERE: Failed Loading plugin sonar<br />ava.io.IOException: Dependency maven-plugin (1.344) doesn&#39;t exist<br /> at hudson.PluginWrapper.resolvePluginDependencies(PluginWrapper.java:435)<br /> at Himanshu Chughhttps://www.blogger.com/profile/18265015882487417752noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-41219481583437039542012-07-22T04:48:50.635-04:002012-07-22T04:48:50.635-04:00I am trying to install sonar plugin in hudson...Af...I am trying to install sonar plugin in hudson...After i restart hudson for changes, i see the below failure<br />NFO: Failed to load plugin - sonar because of error Dependency maven-plugin (1.344) doesn&#39;t exist<br />ul 22, 2012 2:11:40 PM hudson.model.Hudson$5 onTaskFailed<br />EVERE: Failed Loading plugin sonar<br />ava.io.IOException: Dependency maven-plugin (1.344) doesn&#39;t exist<br />Himanshu Chughhttps://www.blogger.com/profile/18265015882487417752noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-87388733662918362512012-05-18T11:07:26.215-04:002012-05-18T11:07:26.215-04:00What if the localhost for sonar shows &quot;No dat...What if the localhost for sonar shows &quot;No data&quot; for all the metrics on the dashboard ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-21810442741406466072012-03-01T06:42:06.698-05:002012-03-01T06:42:06.698-05:00Hi Meera,
I am using jenkins as CI .and when i am ...Hi Meera,<br />I am using jenkins as CI .and when i am trying to create jobs using cli as told by u <br />java -jar jenkins-cli.jar -s http://localhost:8080 create-job khaja &lt;config.xml<br />it is coming as &quot;the file specified do not exist&quot;<br /><br />and also could u tellme configuring sonar with jenkins ..Shaikhttps://www.blogger.com/profile/08638644376206588658noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-58247217891625766892012-02-19T11:07:04.888-05:002012-02-19T11:07:04.888-05:00Hi Meera,
Thanks for the blog it was helpfull..
w...Hi Meera,<br /><br />Thanks for the blog it was helpfull..<br />we dont use maven to build our product we use make and jenkins is our CI tool, will sonar work in such envoirment.<br /><br />can you suggest how can a make based build be setup on Jenkins with sonar..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-87847121223288568462012-02-15T06:32:39.247-05:002012-02-15T06:32:39.247-05:00Hi Meera,
We are getting below error:
[INFO] Ca...Hi Meera,<br /><br />We are getting below error: <br /><br />[INFO] Can not execute Sonar<br /><br />Embedded error: PicoLifecycleException: method &#39;public final org.sonar.core.pers<br />istence.DefaultDatabase org.sonar.core.persistence.DefaultDatabase.start()&#39;, ins<br />tance &#39;org.sonar.batch.bootstrap.BatchDatabase@5197d20c, java.lang.RuntimeExcept<br />ion: wrapper<br />ConnectionSanjuhttps://www.blogger.com/profile/08454873904983290434noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-77309141655773056802012-02-10T05:55:38.547-05:002012-02-10T05:55:38.547-05:00hello mam,
i have following problem during buildin...hello mam,<br />i have following problem during building project in jenkins.<br /><br />Started by user anonymous<br />Checkout:workspace / /root/.jenkins/jobs/uvyas/workspace - hudson.remoting.LocalChannel@73f61ca1<br />Using strategy: Default<br />Last Built Revision: Revision 447819833389ee84807e3adffdf0eb0512a2eb21 (origin/HEAD, origin/master)<br />Checkout:workspace / /root/.jenkins/jobs/Uchithttps://www.blogger.com/profile/07087659094324523598noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-4886736103679987992011-10-28T16:42:51.886-04:002011-10-28T16:42:51.886-04:00Hi Meera,
Thanks for this nice article. Wondering ...Hi Meera,<br />Thanks for this nice article. Wondering whether I could configure both Hudson and Sonar on a single Weblogic instance, and if so, what is the minimum java heap I should alocate to that JVM?<br /><br />Thanks<br />Senthil Kumar Suriyanarayanan.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-11269360236080558902011-10-25T13:39:12.764-04:002011-10-25T13:39:12.764-04:00Hi Meera,
Thanks for this great article.
Wondering...Hi Meera,<br />Thanks for this great article.<br />Wondering whether I could setup Hudson and Sonar on the same J2EE container (say, Weblogic 10.3.2)? In that case what is the JVM heap size that I should allocate?<br /><br />Thanks for your time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-83767371452770829952011-08-18T06:26:26.819-04:002011-08-18T06:26:26.819-04:00Hey Meera nice post.
I have tried to setup Sonar ...Hey Meera nice post.<br /><br />I have tried to setup Sonar with Hudson bur the Squid extraction process is throwing OutOfMemoryException. <br /><br />The trace is:<br /><br />[INFO] Java Squid scan...<br />[INFO] Java Squid scan done: 54 ms<br />[INFO] Squid extraction...<br />[ERROR] Java heap space -&gt; [Help 1]<br />java.lang.OutOfMemoryError: Java heap space<br /> at Ocean-Bluehttps://www.blogger.com/profile/01921182375464628000noreply@blogger.comtag:blogger.com,1999:blog-7210746567797143740.post-54030943632721699132011-08-01T21:59:58.722-04:002011-08-01T21:59:58.722-04:00Hi Meera,
I would like to check with the followin...Hi Meera,<br /><br />I would like to check with the following of your computer that you run hudson &amp; sonar:<br />(1) Processor<br />(2) Memory <br />(3) OS<br /><br />Thanks.Anonymousnoreply@blogger.com