SalesForce CI Integration
Introduction#
Place to use Jenkins and Sonar for CI
How to configure Jenkins to deploy code on Development or Production org ?
How we can use jenkins in our SalesForce product development. What are the tools plugins are available for Jenkins Integration How to solve CI configuration issue…etc
Jenkins CI tools which can be used for SalesForce Automation
-
Jenkins: The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
-
Sonar Qube: SonarQube provides the capability to not only show health of an application but also to highlight issues newly introduced.
-
Apache Ant: Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other.
-
Apache Maven: Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.
-
SfApexDoc: Support for JavaDoc like documentation creation tool. Can be used by Ant/Jenkins to create Documents.
-
JUnit format Report for APEX: Extends the Force.com com.salesforce.ant.DeployTask to accept an optional junitreportdir argument that defines the folder that a JUnitReport XML file is output into. This file can be consumed directly by the Jenkins continuous integration tool to produce trend graphs and test result details or by the JUnitReport Ant task.
-
Version Control System: Can use GIT, SVN or any other Version Control system
-
PMD Apex: Contains the PMD implementation to support the Apex programming language.
-
Sonar for Apex(enforce-sonarqube-plugin): The plugin has support for the Apex language grammar, the current list of checks is focused mainly on test components. The support for more SFDC components is in progress.