SlideShare a Scribd company logo
Set up Continuous Integration using SalesforceDX
and Jenkins
NIDA KHAN
&
AMIT SINGH
Agenda
● The Problem Statement
● Continous Integration Case Study
● Why Jenkins
● Continuous Integration , Continuous Delivery &
Continuous Deployment
● Branching Strategy
● Demo
● Q & A
The Problem Statement
Set up Continuous Integration using SalesforceDX and Jenkins
Why Jenkins
● Open Source
● 1000+ free plugins
● Huge Ecosystem
● Integrates with almost all Devops tool like
docker to puppet
Continuous Integration- The code in any Developer Branch is
always ready to merge with Master branch at regular interval.
Continuous Delivery- CI + Automatic release creation every
time a new build has been created or validated, from where
you can deploy the code to production with just a button
Click.
Continuous Deployment- CI + CD + Production Deployment
Introduction to CI/CD
Pipeline Flow
Branching Strategy
Developer
Admin
Personal
Salesforce
CI Branch -
Jenkins
Build
Personal Git
QA Branch -
Jenkins Build
Pull Request
CI
Salesforce
QA
Salesforce
UAT Branch -
Jenkins Build
Master Branch -
Jenkins Build
UAT
Salesforce
Production
Prerequisites
1. Download and Install Salesforce CLI -
https://developer.salesforce.com/tools/sfdxcli
2. Download and install Git - https://gitforwindows.org/
3. Download and install openssl to generate the
certificates - https://sourceforge.net/projects/openssl/
4. Download and install the Jenkins - https://jenkins.io/
Demo
Summary
● Setup Jenkins and SFDX
● Create Certificate
● Setup Connected App
● Setup Environment Variables in Jenkins
● Create Jenkins project on basis of JenkinsFile
Environment Variables To Setup
1. Salesforce CLI
2. Git
3. OpenSSL
4. CONNECTED_APP_CONSUMER_KEY_DH
5. HUB_ORG_DH
6. JWT_CRED_ID_DH
7. SFDC_HOST_DH
Resources
● Apex Hours - Click here
● Setup SFDX & VsCode - Click here
● Official Documentation for JWT and
Jenkins File - Click here
● Github repository URL - Click Here
● Trailmix - Click here
Q&A
Speakers
Application Architect
10x Salesforce Certificates
Twitter: @cloudyamit
Company: Deloitte
Email: amitasinghsfdc@gmail.com
Salesforce Consultant
6X Salesforce Certificates
Twitter: @Nida_SFDC
Company: TCS
Email: sfdcnida@gmail.com
Set up Continuous Integration using SalesforceDX and Jenkins

More Related Content

PPTX
CI/CD - A strategy for success (North Africa Dreamin' Prez)
PPTX
Best practices for implementing CI/CD on Salesforce
PDF
Salesforce CI/CD - A strategy for success
PDF
Salesforce CLI
PPTX
Leveling Up Deployment Infrastructure
PDF
Experience with Salesforce DX on real project
PPT
DevOps and Visual Studio Team Services
PDF
Salesforce development lifecycle
CI/CD - A strategy for success (North Africa Dreamin' Prez)
Best practices for implementing CI/CD on Salesforce
Salesforce CI/CD - A strategy for success
Salesforce CLI
Leveling Up Deployment Infrastructure
Experience with Salesforce DX on real project
DevOps and Visual Studio Team Services
Salesforce development lifecycle

What's hot (20)

PDF
TDX19 - Accelerate DevOps with GitLab and Salesforce
PDF
Fun with Jenkins & Salesforce
PDF
Salesforce & GitLab Integration for Next-gen DevOps with CEPTES
PDF
CI/CD (DevOps) 101
PPTX
Enabing DevOps in an SDN World
PPTX
How Azure DevOps can boost your organization's productivity
PDF
Salesforce cicd integration a quick guide
PPTX
CI/CD Best Practices for Your DevOps Journey
PPTX
Continuous Delivery With Team Foundation Server
PDF
Webcast: TFS 2015 & Why Upgrade
PDF
DevOps with Visual studio Release Management (Pieter Gheysens)
PDF
Release Management in TFS 2015
PPTX
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
PPTX
Techniques and Tools to Improve the Salesforce Development Cycle
PDF
Continuous integration
PPTX
Cloud load testing with Visual Studio Team Services
PPTX
Optimizing deployment & dev ops with tfs 2013
PPTX
Continuous integration
ODP
PPT
Continuous Delivery with Visual Studio Online
TDX19 - Accelerate DevOps with GitLab and Salesforce
Fun with Jenkins & Salesforce
Salesforce & GitLab Integration for Next-gen DevOps with CEPTES
CI/CD (DevOps) 101
Enabing DevOps in an SDN World
How Azure DevOps can boost your organization's productivity
Salesforce cicd integration a quick guide
CI/CD Best Practices for Your DevOps Journey
Continuous Delivery With Team Foundation Server
Webcast: TFS 2015 & Why Upgrade
DevOps with Visual studio Release Management (Pieter Gheysens)
Release Management in TFS 2015
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
Techniques and Tools to Improve the Salesforce Development Cycle
Continuous integration
Cloud load testing with Visual Studio Team Services
Optimizing deployment & dev ops with tfs 2013
Continuous integration
Continuous Delivery with Visual Studio Online
Ad

Similar to Set up Continuous Integration using SalesforceDX and Jenkins (20)

PPTX
South East Dreamin 2019
PPTX
Jenkins_PPT_Template_introduction to ci/cd .pptx
PDF
Seminar continuous delivery 19092013
PPTX
Salesforce DevOps Course - Salesforce DevOps Online Training.pptx
PPTX
Continous Integration.pptx
PPTX
Continuous Integration with Jenkins and Java EE
PPTX
TDC2016SP - Trilha DevOps Java
PDF
Building an Enterprise Continuous Delivery machine around Jenkins
PDF
Automate your build on Android with Jenkins
PDF
Continous Delivery Toronto Presentation
PDF
Guide To Jenkins Management Continuous Integration And Useful Plugins Complet...
PPTX
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
PDF
Revolutionizing Enterprise Software Development through Continuous Delivery &...
PPTX
The Benefits of continuous integration in Automation testing.pptx
PPT
Continuous deployment steve povilaitis
PDF
Jenkins_1679702972.pdf
PDF
jenkins.pdf
PDF
Introduction to CICD
PPTX
introductiontocicdknolx-220210084710.pptx
South East Dreamin 2019
Jenkins_PPT_Template_introduction to ci/cd .pptx
Seminar continuous delivery 19092013
Salesforce DevOps Course - Salesforce DevOps Online Training.pptx
Continous Integration.pptx
Continuous Integration with Jenkins and Java EE
TDC2016SP - Trilha DevOps Java
Building an Enterprise Continuous Delivery machine around Jenkins
Automate your build on Android with Jenkins
Continous Delivery Toronto Presentation
Guide To Jenkins Management Continuous Integration And Useful Plugins Complet...
Ordina Accelerator program 2019 - Jenkins blue ocean pipelines
Revolutionizing Enterprise Software Development through Continuous Delivery &...
The Benefits of continuous integration in Automation testing.pptx
Continuous deployment steve povilaitis
Jenkins_1679702972.pdf
jenkins.pdf
Introduction to CICD
introductiontocicdknolx-220210084710.pptx
Ad

More from YeurDreamin' (18)

PPTX
Discover Social Studio: The Product, The Use & The Connector
PDF
Your Salesforce toolbelt – Practical recommendations to keep your Org healthy
PPTX
Admins – You Can Code Too!
PPTX
Behind Every Device is a Customer. Learn how to connect IoT devices to Salesf...
PPTX
Build Your Own Lightning Community in a Flash - part 2
PPTX
Clean Code Principles
PPTX
Build A Meaningful Network while elevating your Career – Getting the most out...
PPTX
From Food Truck Chef to Architect, My Salesforce Journey
PPTX
Supercharge your Salesforce with 10 Awesome tips & tricks
PPTX
Spectacular Specs and how to write them!
PPTX
Platform Events: How developers and admins work together to implement busines...
PPTX
An Admin’s Guide to Workbench
PDF
10 Lessons of Salesforce Nonprofit implementations from a Customer and Integr...
PPTX
Top 10 Things Admins Can Learn from Developers (without learning to code)
PPTX
How to monitor and prioritize epics of a Service Cloud implementation project...
PPTX
Prototyping UX Solutions with Playgrounds and Lightning Web Components
PPTX
Want your bank to trust you? You need a credit score. Want your customers to ...
PPTX
Invocable methods
Discover Social Studio: The Product, The Use & The Connector
Your Salesforce toolbelt – Practical recommendations to keep your Org healthy
Admins – You Can Code Too!
Behind Every Device is a Customer. Learn how to connect IoT devices to Salesf...
Build Your Own Lightning Community in a Flash - part 2
Clean Code Principles
Build A Meaningful Network while elevating your Career – Getting the most out...
From Food Truck Chef to Architect, My Salesforce Journey
Supercharge your Salesforce with 10 Awesome tips & tricks
Spectacular Specs and how to write them!
Platform Events: How developers and admins work together to implement busines...
An Admin’s Guide to Workbench
10 Lessons of Salesforce Nonprofit implementations from a Customer and Integr...
Top 10 Things Admins Can Learn from Developers (without learning to code)
How to monitor and prioritize epics of a Service Cloud implementation project...
Prototyping UX Solutions with Playgrounds and Lightning Web Components
Want your bank to trust you? You need a credit score. Want your customers to ...
Invocable methods

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
top salesforce developer skills in 2025.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
history of c programming in notes for students .pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Essential Infomation Tech presentation.pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
System and Network Administration Chapter 2
PDF
Softaken Excel to vCard Converter Software.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Odoo POS Development Services by CandidRoot Solutions
2025 Textile ERP Trends: SAP, Odoo & Oracle
Upgrade and Innovation Strategies for SAP ERP Customers
top salesforce developer skills in 2025.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
ai tools demonstartion for schools and inter college
history of c programming in notes for students .pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
PTS Company Brochure 2025 (1).pdf.......
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Understanding Forklifts - TECH EHS Solution
Essential Infomation Tech presentation.pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Odoo Companies in India – Driving Business Transformation.pdf
System and Network Administration Chapter 2
Softaken Excel to vCard Converter Software.pdf

Set up Continuous Integration using SalesforceDX and Jenkins

  • 1. Set up Continuous Integration using SalesforceDX and Jenkins NIDA KHAN & AMIT SINGH
  • 2. Agenda ● The Problem Statement ● Continous Integration Case Study ● Why Jenkins ● Continuous Integration , Continuous Delivery & Continuous Deployment ● Branching Strategy ● Demo ● Q & A
  • 5. Why Jenkins ● Open Source ● 1000+ free plugins ● Huge Ecosystem ● Integrates with almost all Devops tool like docker to puppet
  • 6. Continuous Integration- The code in any Developer Branch is always ready to merge with Master branch at regular interval. Continuous Delivery- CI + Automatic release creation every time a new build has been created or validated, from where you can deploy the code to production with just a button Click. Continuous Deployment- CI + CD + Production Deployment Introduction to CI/CD
  • 8. Branching Strategy Developer Admin Personal Salesforce CI Branch - Jenkins Build Personal Git QA Branch - Jenkins Build Pull Request CI Salesforce QA Salesforce UAT Branch - Jenkins Build Master Branch - Jenkins Build UAT Salesforce Production
  • 9. Prerequisites 1. Download and Install Salesforce CLI - https://developer.salesforce.com/tools/sfdxcli 2. Download and install Git - https://gitforwindows.org/ 3. Download and install openssl to generate the certificates - https://sourceforge.net/projects/openssl/ 4. Download and install the Jenkins - https://jenkins.io/
  • 10. Demo
  • 11. Summary ● Setup Jenkins and SFDX ● Create Certificate ● Setup Connected App ● Setup Environment Variables in Jenkins ● Create Jenkins project on basis of JenkinsFile
  • 12. Environment Variables To Setup 1. Salesforce CLI 2. Git 3. OpenSSL 4. CONNECTED_APP_CONSUMER_KEY_DH 5. HUB_ORG_DH 6. JWT_CRED_ID_DH 7. SFDC_HOST_DH
  • 13. Resources ● Apex Hours - Click here ● Setup SFDX & VsCode - Click here ● Official Documentation for JWT and Jenkins File - Click here ● Github repository URL - Click Here ● Trailmix - Click here
  • 14. Q&A
  • 15. Speakers Application Architect 10x Salesforce Certificates Twitter: @cloudyamit Company: Deloitte Email: amitasinghsfdc@gmail.com Salesforce Consultant 6X Salesforce Certificates Twitter: @Nida_SFDC Company: TCS Email: sfdcnida@gmail.com