11. Problem Scenario
• Change Sets
• Code Overrides
• No Code Management
• No streamlined deployments
• No version control and a source of truth
• Large Metadata and lot of apex code
• Multiple deployments by developers
• Migration to Lightning Web Components
Apex Classes
>2000
Objects
>1000
Apex Triggers
>200
Lightning
Components
>300
Users
>1000Profiles
>35
21. Build Pipeline
1
2
3
1. Get the current repository
to build server
2. Run the Ant build to
generate the Differential
build in a deploy folder
3. Deploy the content of
deploy folder using
SFDX- CLI
22. Differential Build
Deploy Folder
• Delete the existing
Deploy-sf folder
• Create an empty
Deploy-sf folder
Get Changes
• Run GIT Log to get
last two commits.
• Run GIT Diff to find
the files which
changed between
commit.
Iterate Files
• Copy the files to
Deploy-sf folder if it
is part of force-app
• Copy linked
meta.xml file also
to Deploy-sf folder