Implementing Continuous Integration Using Jenkins and Git for Salesforce Development

Continuous Integration (CI) is a development practice the allows developers to check-in their changes into a shared repository unlimited number of times. Each check-in is then verified by an automated build system, thus eliminating the changes of breaking some other part of the application while fixing one part.By implementing Continuous Integration, you can detect errors quickly and locate them more easily. I always recommend to implement Continuous Integration in any kind of software projects. I personally implemented CI multiple times for Java and C++ projects in my career. Now last week, I implemented the same for Salesforce development. In today’s post, I will explain how to do that.Below are the prerequisite softwares -ANT – You can download the software from here.Salesforce Migration Tool – Please check the detail steps @ http://www.salesforce.com/us/developer/docs/daas/Content/forcemigrationtool_install.htmGit – You can download the software from here.Eclipse.Before we go further, I recommend you to go through the below posts to understand the concept.Version Controlling in Salesforce with Git + Eclipse.Salesforce Deployment Guide using ANT Migration Tool.Best Practices – Continuous Integration Techniques.Below picture will give you a high level overview about what I am going to achieve by implementing CI.Step 1 – Install Jenkins on your local machine by downloading the Java Web Archive (.war) from here. Once downloaded, execute the below command from the directory where you have saved -java -jar jenkins.warAfter that open your browser and go to http://localhost:8080/. You will...

Read More