<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1297126660453931498</id><updated>2024-11-04T03:03:57.950-08:00</updated><category term="jenkins"/><category term="sonar"/><category term="hudson"/><category term="LDAP"/><category term="code coverage"/><category term="findbugs"/><category term="jacoco"/><category term="Clover"/><category term="Emma"/><category term="JNLP"/><category term="LCOM4"/><category term="Maven project"/><category term="PMD"/><category term="best practices"/><category term="build error"/><category term="checkstyle"/><category term="cobertura"/><category term="integration"/><category term="jacocoant.jar"/><category term="junit"/><category term="linux"/><category term="master"/><category term="plugin"/><category term="setup"/><category term="slave"/><category term="sona"/><category term="svn"/><category term="switch off violation"/><category term="test case"/><category term="windows"/><title type='text'>Jenkins &amp;amp; Sonar</title><subtitle type='html'>A Blog for Jenkins(Hudson), Sonar and other CI &amp;amp; SCM Tools</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-1624231857242276361</id><published>2013-08-09T08:04:00.001-07:00</published><updated>2013-08-09T08:04:17.580-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><title type='text'>How to upgrade Jenkins ?</title><summary type="text">
1. Shutdown Jenkins .2. Take backup of current Jenkins repository3. Download jenkins.war file &amp;amp; put it in current webapps folder of apache tomcat.
4. Restart Jenkins5. Start Sonar &amp;amp; Jenkins

Very easy and straight forward right ??????
</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/1624231857242276361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/08/how-to-upgrade-jenkins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1624231857242276361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1624231857242276361'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/08/how-to-upgrade-jenkins.html' title='How to upgrade Jenkins ?'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-736939008780816999</id><published>2013-08-09T07:58:00.000-07:00</published><updated>2013-08-09T07:58:05.313-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><title type='text'>How to upgrade sonar ?</title><summary type="text">
1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Take backup of current sonar filesystem &amp;amp; DB.2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Unzip sonar351 (Your current sonar version) in /opt/ folder.3.&amp;nbsp;&amp;nbsp;&amp;nbsp; Shutdown Sonar. 4. &amp;nbsp;&amp;nbsp;&amp;nbsp; Update the content of the sonar.properties and wrapper.conf files located in the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {$NEW_SONAR_HOME}/conf directory according of the content of the related files in </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/736939008780816999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/08/how-to-upgrade-sonar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/736939008780816999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/736939008780816999'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/08/how-to-upgrade-sonar.html' title='How to upgrade sonar ?'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-729764745455770225</id><published>2013-06-06T23:43:00.000-07:00</published><updated>2013-06-06T23:46:31.646-07:00</updated><title type='text'>Please provide the values of the properties sonar.login and sonar.password Error in sonar</title><summary type="text">
Hi guys,

If you get below error in your sonar build, don&#39;t worry we have solution for that.


org.sonar.api.utils.SonarException: Not authorized.&amp;nbsp;
Analyzing this project requires to be authenticated.&amp;nbsp;
Please provide the values of the properties sonar.login and sonar.password.
 at org.sonar.batch.bootstrap.ServerClient.handleHttpException(ServerClient.java:106)
 at </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/729764745455770225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/06/please-provide-values-of-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/729764745455770225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/729764745455770225'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/06/please-provide-values-of-properties.html' title='Please provide the values of the properties sonar.login and sonar.password Error in sonar'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-2614323119721872021</id><published>2013-06-06T23:42:00.001-07:00</published><updated>2013-06-06T23:42:11.354-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><title type='text'>Beauty of Mask Password Plugin in Jenkins</title><summary type="text">
Hi Friends,

If you know when we build any project through jenkins, it shows console where we can see deployment log.
So if you are passing any secure information in build information like user name and password and if&amp;nbsp; you want to secure that information which masked passwords and other information, There is one jenkins plugin available by using that you can mask any secure information.

</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/2614323119721872021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/06/beauty-of-mask-password-plugin-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/2614323119721872021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/2614323119721872021'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2013/06/beauty-of-mask-password-plugin-in.html' title='Beauty of Mask Password Plugin in Jenkins'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-1123699018095448589</id><published>2012-12-27T21:50:00.000-08:00</published><updated>2012-12-28T03:06:55.573-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Clover"/><category scheme="http://www.blogger.com/atom/ns#" term="cobertura"/><category scheme="http://www.blogger.com/atom/ns#" term="code coverage"/><category scheme="http://www.blogger.com/atom/ns#" term="Emma"/><category scheme="http://www.blogger.com/atom/ns#" term="jacoco"/><category scheme="http://www.blogger.com/atom/ns#" term="sona"/><title type='text'>Know about java code coverage plugins : sonar</title><summary type="text">
The default Java code coverage engine for unit tests to be used must 
be defined in
Settings &amp;gt; Configuration &amp;gt; General Settings &amp;gt; 
Java &amp;gt;&amp;nbsp;Code coverage plugin property.
By default the Java code coverage engine with come up with sonar is JaCoCo&amp;nbsp;but&amp;nbsp;Cobertura, Emma or Clover&amp;nbsp;can also be used.


JaCoCo
JaCoCo&amp;nbsp;is an open source and robust Java code coverage tool.</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/1123699018095448589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/know-about-java-code-coverage-plugins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1123699018095448589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1123699018095448589'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/know-about-java-code-coverage-plugins.html' title='Know about java code coverage plugins : sonar'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-6303099917551396490</id><published>2012-12-27T04:11:00.001-08:00</published><updated>2012-12-27T04:11:31.240-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="findbugs"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><title type='text'>No relationship between generic parameter and method argument</title><summary type="text">
Hi All,

If you are usinf findbugs to check code quality,
you may see violations like &quot;No relationship between generic parameter and method argument&quot;.

Since Map.get() is not fully generic, we often find cases where a 
developer passed a different type of object (and hence bugs). Frequency 
of such cases went up when we started using artifacts/services from 
other teams. What are the reasons why</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/6303099917551396490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/no-relationship-between-generic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/6303099917551396490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/6303099917551396490'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/no-relationship-between-generic.html' title='No relationship between generic parameter and method argument'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-4917219315635295835</id><published>2012-12-27T01:53:00.004-08:00</published><updated>2012-12-28T03:11:23.087-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="code coverage"/><category scheme="http://www.blogger.com/atom/ns#" term="jacoco"/><category scheme="http://www.blogger.com/atom/ns#" term="jacocoant.jar"/><category scheme="http://www.blogger.com/atom/ns#" term="junit"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><category scheme="http://www.blogger.com/atom/ns#" term="test case"/><title type='text'>jacoco code coverage with Ant - Sonar</title><summary type="text">
Here is the detail for how to setup code coverage using jacoco plugin which is OOB come out with SONAR :


Write sample java project called ant-jacoco-codecoverage
&amp;nbsp;Project folder structure would be given as below snapshot:

 

Under the target folder you may have to create classes &amp;amp; reports folders where reports folder will have one more folder called junit
Write sample Java class </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/4917219315635295835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/jacoco-code-coverage-with-ant-sonar.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/4917219315635295835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/4917219315635295835'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/jacoco-code-coverage-with-ant-sonar.html' title='jacoco code coverage with Ant - Sonar'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-3556526963946230725</id><published>2012-12-13T03:21:00.001-08:00</published><updated>2012-12-13T03:36:42.860-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="best practices"/><category scheme="http://www.blogger.com/atom/ns#" term="LCOM4"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><title type='text'>What is LCOM4 ?</title><summary type="text">
Hi Everybody,

If you want to know about the LCOM4(Lack of Cohesion of Methods) which sonar having , please see below example:

Cohesion is the degree to which the methods of a single class are tight 
together. When two methods in a class do not use a common attribute or a
 common method, it means that they share nothing and should probably not
 belong to the same class to respect the Single </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/3556526963946230725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/what-is-lcom4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3556526963946230725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3556526963946230725'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/what-is-lcom4.html' title='What is LCOM4 ?'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-2151469939685434052</id><published>2012-12-05T21:51:00.001-08:00</published><updated>2012-12-05T22:04:42.701-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="checkstyle"/><category scheme="http://www.blogger.com/atom/ns#" term="findbugs"/><category scheme="http://www.blogger.com/atom/ns#" term="PMD"/><title type='text'>Malicious code vulnerability - May expose internal representation by returning reference to mutable object</title><summary type="text">
Hi Everyone,

Normally this kind of violations comes when you are using mutable object in getter settter.

Ideally you should not direct return mutable object, instead you can return clone of that mutable object.

If you see this violation in your code , you can use below code for your mutable object :

If you are using Date :

public class DateTest {
&amp;nbsp;&amp;nbsp;&amp;nbsp; private Date date;

&amp;nbsp</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/2151469939685434052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/malicious-code-vulnerability-may-expose.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/2151469939685434052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/2151469939685434052'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/12/malicious-code-vulnerability-may-expose.html' title='Malicious code vulnerability - May expose internal representation by returning reference to mutable object'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-7963155505753187586</id><published>2012-07-26T02:49:00.000-07:00</published><updated>2012-07-26T02:49:16.058-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><category scheme="http://www.blogger.com/atom/ns#" term="switch off violation"/><title type='text'>Switchoff plugin for sonar</title><summary type="text">Guys

Have you ever been tried to use switch off plugin of sonar ?

This plugin is really helpful when you switch-off any specific violation from the specific line or specific files.
I really liked this plugin.

See below details to get it installed :



1) Start sonar and login with admin credentials
2) Go Configuration &amp;gt;&amp;gt; Update Center and click on Available plugins tab and install LDAP </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/7963155505753187586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/07/switchoff-plugin-for-sonar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/7963155505753187586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/7963155505753187586'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/07/switchoff-plugin-for-sonar.html' title='Switchoff plugin for sonar'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-1393152751952920022</id><published>2012-07-25T23:21:00.001-07:00</published><updated>2012-07-25T23:23:35.546-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="integration"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><title type='text'>LDAP integration with Sonar</title><summary type="text">If you want to integrate LDAP directory server with sonar, you can follow below steps.
Its very easy and useful for sonar security:


1) First start your Sonar and login with admin credentials.
2) Go Configuration &amp;gt;&amp;gt; Update Center and click on Available plugins and install LDAP plugin
3) Now stop your sonar server
4) open sonar.properties file and append below code
sonar.authenticator.class</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/1393152751952920022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/07/ldap-integration-with-sonar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1393152751952920022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/1393152751952920022'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/07/ldap-integration-with-sonar.html' title='LDAP integration with Sonar'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-6397204059391384930</id><published>2012-06-04T06:35:00.000-07:00</published><updated>2012-06-04T06:35:13.567-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="JNLP"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="master"/><category scheme="http://www.blogger.com/atom/ns#" term="slave"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Jenkins master - slave configuration</title><summary type="text">If you are new with Jenkins and want to know how to configure slave server with Jenkins master ,
Here are the steps to follow to configure slave server(Linux,Windows and JNLP):



For Linux :

1) Setup Jenkins server in your local machine as steps mentioned in&amp;nbsp; http://sonar-jenkins.blogspot.in/2012/05/setup-jenkins-in-local-machine.html

2) Now go to Manage Jenkins &amp;gt;&amp;gt; Manage Nodes
3) </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/6397204059391384930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/06/jenkins-master-slave-configuration.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/6397204059391384930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/6397204059391384930'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/06/jenkins-master-slave-configuration.html' title='Jenkins master - slave configuration'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-9004173657615122725</id><published>2012-05-24T05:46:00.001-07:00</published><updated>2012-05-24T05:46:41.857-07:00</updated><title type='text'>Sonar Integration with Jenkins</title><summary type="text">
Stay tuned for more information !!!!!</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/9004173657615122725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/sonar-integration-with-jenkins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/9004173657615122725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/9004173657615122725'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/sonar-integration-with-jenkins.html' title='Sonar Integration with Jenkins'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-3302950071845175682</id><published>2012-05-24T00:34:00.005-07:00</published><updated>2012-06-04T06:37:46.461-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hudson"/><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><title type='text'>LDAP integration with Jenkins</title><summary type="text">If you want to integrate LDAP plugin with Jenkins and make your jenkins application LDAP secure,
You can follow below steps to configure LDAP with Jenkins :

1) Go To Manage Jenkins &amp;gt;&amp;gt; Configure System
2) Configure LDAP related stuff as show below

 
&amp;nbsp;Note : Make Sure all configuration related to LDAP should be proper.
3) Save all data and try to login with your LDAP credentials.

</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/3302950071845175682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/ldap-integration-with-jenkins.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3302950071845175682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3302950071845175682'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/ldap-integration-with-jenkins.html' title='LDAP integration with Jenkins'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-3019002175103633102</id><published>2012-05-23T05:14:00.003-07:00</published><updated>2012-05-24T01:55:24.895-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hudson"/><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="Maven project"/><title type='text'>Build Maven project with Jenkins</title><summary type="text">Hi Everyone,

Here are the steps to configure maven based project in Jenkins.
Hope this will be useful to make build automation with maven based project

1) Install Jenkins in local machine as per the steps given in last blog post.

2) Go to Manage Jenkins&amp;gt;&amp;gt; Configure System 
3) Set Maven path as show in below screenshot

















5)Now create new job to build maven based project
6) </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/3019002175103633102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/build-maven-project-with-jenkins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3019002175103633102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3019002175103633102'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/build-maven-project-with-jenkins.html' title='Build Maven project with Jenkins'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-4979242350200905886</id><published>2012-05-21T23:25:00.004-07:00</published><updated>2012-05-24T01:55:41.268-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="setup"/><title type='text'>Setup Jenkins in local machine</title><summary type="text">
Steps to install jenkins in local machine
Install  apache tomcat server
Download  latest jenkins war file from http://jenkins-ci.org/   
Deploy  jenkins.war file in tomcat webapps folder
Once  jenkins.war deployed successfully, start the tomcat server
Open  http://localhost:8080/jenkins in  browser once server starts properly
Now configure  JDK and ANT which can be used to build the project.For </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/4979242350200905886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/setup-jenkins-in-local-machine.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/4979242350200905886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/4979242350200905886'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/05/setup-jenkins-in-local-machine.html' title='Setup Jenkins in local machine'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-7818206906225497906</id><published>2012-03-19T01:21:00.002-07:00</published><updated>2012-05-24T01:55:54.339-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="build error"/><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><title type='text'>hudson.util.IOException2 error in jenkins build</title><summary type="text">If you found below error when you build project from jenkins then you can remove &amp;lt;your project&amp;gt;.log&amp;nbsp; file from 
/opt/jenkins/workspace location 



hudson.util.IOException2: remote file operation failed:&amp;nbsp;/opt/hudson/workspace/vwr-connect at hudson.remoting.Channel@5c784d:alfrescoadvanstarqa1.cignex.com
 at hudson.FilePath.act(FilePath.java:754)
 at hudson.FilePath.act(</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/7818206906225497906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/03/hudsonutilioexception2-error-in-jenkins.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/7818206906225497906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/7818206906225497906'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/03/hudsonutilioexception2-error-in-jenkins.html' title='hudson.util.IOException2 error in jenkins build'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-3872535699778995131</id><published>2012-02-22T02:07:00.003-08:00</published><updated>2012-05-24T01:56:06.287-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hudson"/><category scheme="http://www.blogger.com/atom/ns#" term="svn"/><title type='text'>Hudson SVN authentication failed</title><summary type="text">The Hudson was building all projects without any issues since it was  installed. All of a sudden yesterday my inbox was filled with failure  reports, Hudson was not able to build any of the projects. Logs were  having stacktrace like mentioned below-



ERROR: svn: authentication cancelled
org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled
&amp;nbsp;&amp;nbsp;&amp;nbsp; at </summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/3872535699778995131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/02/hudson-svn-authentication-failed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3872535699778995131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/3872535699778995131'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/02/hudson-svn-authentication-failed.html' title='Hudson SVN authentication failed'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1297126660453931498.post-8586653497307125759</id><published>2012-02-16T00:02:00.001-08:00</published><updated>2012-02-16T00:02:09.034-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hudson"/><category scheme="http://www.blogger.com/atom/ns#" term="jenkins"/><category scheme="http://www.blogger.com/atom/ns#" term="sonar"/><title type='text'>Welcome</title><summary type="text">You will find all the infomation related to sonar and jenkins</summary><link rel='replies' type='application/atom+xml' href='http://sonar-jenkins.blogspot.com/feeds/8586653497307125759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/02/welcome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/8586653497307125759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1297126660453931498/posts/default/8586653497307125759'/><link rel='alternate' type='text/html' href='http://sonar-jenkins.blogspot.com/2012/02/welcome.html' title='Welcome'/><author><name>Jignesh Vachhani</name><uri>http://www.blogger.com/profile/18040117955302228816</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>