Latest Entries »

Wednesday, May 30, 2012

Installation of Hudson/Jenkins, Sonar plugins and configure SpringSource Tool Suite (STS IDE)


Software Installers Repository

All the required software and SDKs can be found in the internet, please download it from the respective sites.


Prerequisites
JDK 1.6
STS IDE


Installation and basic Configurations


1.       Start the STS IDE
2.       Go to HelpàDashboard
3.       Find “Hudson”
4.       Select the check box and click on the install



This completes the installation of Hudson plugin.



Now we will discuss about the configuration of Hudson

1.       Go to WindowàShow viewàOther
2.       Find “builds”
3.       Select OK


4.       Go to “New Build Server Location”
5.       Select “Add build server”
6.       Choose “Hudson” then Next
7.       Enter the details required


8.       After filling all the details validate the settings by clicking “Validate”
9.       Finally Click “Finish”

Following actions can be performed using this plugin

1.       Open last build
2.       Last build: details and console output
3.       Plan
4.       Run Build
5.       History


On mouse hover you will find the following updates


Installation of Sonar

1.       Go to HelpàInstall New Software




3.       Select Sonar check box
4.       Go Next to Finish

Adding project to Sonar
1.       Go to project explorer
2.       Select project
3.       Right click and navigate to configure
4.       Select “Associate with Sonar…”


GroupId and ArtifactId can’t be found for our project as they are related to Maven configurations and we are using ant (free style project)