Introducing the Jenkinsfile for CI

The term "pipeline" is used in a CI server to describe the steps used to process the source code, from building it and testing it, to eventually deploying it to production. In the case of a packaged application such as this one, you may want to manage the deployment to production separately, though it is technically feasible to use the Package Push API to automate your package releases to your customers.

For this section, we will focus on the build and testing part of the pipeline, using a script file known as Jenkinsfile. This uses the Groovy programming language (http://groovy-lang.org/syntax.html) to define the stages in the pipeline to perform and how they interact with the Salesforce DX CLI. It is common ...

Get Salesforce Lightning Platform Enterprise Architecture - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.