更新时间:2021-07-16 17:39:16
封面
Title Page
Copyright and Credits
DevOps for Salesforce
Packt Upsell
Why subscribe?
packt.com
Contributors
About the authors
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the color images
Conventions used
Get in touch
Reviews
Salesforce Development and Delivery Process
The typical Salesforce development process (without DevOps)
Traditional deployment
Issues with traditional deployment
Sandboxes
Eclipse for Salesforce development
Installing Eclipse Neon with the Force.com IDE plugin
Configuring a Force.com project in Eclipse
Technical and business challenges
DevOps for Salesforce?
Summary
Applying DevOps to Salesforce Applications
The need for a DevOps process in Salesforce development
The differences between DevOps for Salesforce and other tech stacks
Example – the typical DevOps process for a Java development stack
Configuring Maven in the Jenkins server
Adding a Jenkins webhook URL in a GitHub project
Continuous deployment
Installing the Publish Over SSH plugin in a Jenkins server
References
Deployment in Salesforce
What is deployment with reference to DevOps?
Change Sets
Deployment connections
Deployment using Change Sets
Creating deployment connections
Creating Outbound Change Sets
Validating Inbound Change Sets
Using Quick Deploy to deploy Change Sets
Deployment using the Ant Migration Tool
Using the Force.com IDE to deploy Apex
Installing Salesforce DX plugins to Visual Studio Code
Introduction to the Force.com Migration Tool
What the Force.com Migration Tool is?
Setting up the Force.com Migration Tool
Prerequisites
Java
Ant
Installing the Ant Migration Tool on Linux
Installing the Ant Migration Tool on Windows
Installing the Salesforce Ant Migration Tool
Retrieving metadata from a sandbox
Deploying metadata on a sandbox
Deleting files/components from a Salesforce organization using destructiveChanges.xml
How the Force.com tool helps developers and DevOps
Troubleshooting
Version Control
What is meant by SCVS?
Version control in Salesforce
Introduction to Git
Setting up a GitLab server on a Linux instance
Installing the GitLab server
Creating your first project in GitLab
Working with a Git repository
Viewing the commit history
Adding a user to GitLab
Solution
Branching strategy
Handling branches using the Git CLI
Merging changes from develop to master
Using Git in the Eclipse IDE
Configuring Git and pushing code to Git
Continuous Integration
What is Jenkins?
CI using Jenkins
Installing a Jenkins server
Configuring the Ant Migration Tool with Jenkins
Configuring a Jenkins job to retrieve metadata from a sandbox
Triggering the same job again
Configuring a Jenkins job to deploy metadata on a sandbox
Continuous Testing
What is code quality?
Checking code quality using a PMD report