SlideShare a Scribd company logo
Saturday, 16 July,2022
Faridabad MuleSoft Meetup Group
Deploying Mule Applications with Jenkins,
Azure and BitBucket
2
1. Introduction
2. Continuous Integration/Continuous Delivery
3. Jenkins Pipeline
4. CI/CD Deployment with Demo
● Jenkins with Git
● Azure
● BitBucket
1. Q & A
2. Kahoot Quiz
Agenda
3
●About the organizer:
○ Amit Singh
○ Pankaj Goyal
Introductions
A SHOW OF HANDS:
Who is new to this Meetup?
4
Speakers for the session
A SHOW OF HANDS:
Who is new to this Meetup?
Mitali Chaudhary Rohit Singh Mayank Sharma
Safe Harbor Statement
● Both Speaker and Organizers are here with their own capacity and not representing any
organization/company.
● Speaker is only sharing his/her knowledge and is not responsible if the same product does not
work for your company.
● Please make all the design decision by understanding what is available in current
product(MuleSoft).
● We all are here to learn together “The moto is to learn together”
5
A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
6
What is Software Deployment ?
Deployment is the mechanism through which applications, modules, updates, and patches
are delivered from developers to end users.
The methods used by developers to build, test and deploy new code will impact how fast a
product can respond to changes in customer preferences or requirements and the quality of
each change.
7
What is CI/CD ?
CI and CD stand for continuous integration and continuous delivery/continuous
deployment. In very simple terms, CI is a modern software development practice in which
incremental code changes are made frequently and reliably.
CD stands for continuous delivery/deployment ,which is a software development practice
that works in conjunction with continuous integration to automate the infrastructure
provisioning the release of application.
8
Continuous Delivery vs Deployment
What is the CD in CI/CD? Does it stand for deployment or delivery?
Well, the answer is both. Depending on the existing workflow and requirements, your team would
pick the practice that best fits them and their product.
Continuous delivery is the best choice for companies that want to take control and be the last filter
before new releases are deployed to the end-users.
9
Why is CI/CD Important ?
10
CI/CD allows organizations to ship software quickly and efficiently. CI/CD facilitates an
effective process for getting products to market faster than ever before, continuously
delivering code into production, and ensuring an ongoing flow of new features and bug
fixes via the most efficient delivery method.
What is Jenkins ?
Jenkins is an open-source automation tool written in Java with plugins built for
Continuous Integration purposes. Jenkins is used to build and test your software projects
continuously making it easier for developers to integrate changes to the project, and
making it easier for users to obtain a fresh build.
Advantages of using Jenkins:
● It is an open-source tool with great community support.
● It is built with Java and hence, it is supported by all the major platforms.
● It has 1000+ plugins to ease your work with different technologies
What is Jenkins Pipeline ?
Jenkins Pipeline is a suite of plugins which supports implementing and integrating
continuous delivery pipelines into Jenkins.It provides an extensible set of tools for
modeling simple-to-complex delivery pipelines "as code". The Pipeline Script is written
into a text file (called a Jenkinsfile) which is checked into a project’s source control
repository.
Declarative Script
pipeline {
agent any
stages {
stage('Build') {
steps {
bat 'mvn clean install'
}
}
stage('Test') {
steps {
bat 'mvn test'
}
}
stage('Deploy') {
steps {
bat 'mvn package deploy -DmuleDeploy'
}
}
}
}
Execute this Pipeline on any available agent.
Defines the "Build" stage.
Executes the Defined maven command.
CI/CD Deployment with GIT
Tools Required for the Implementation:
1. Jenkins
2. GIT
3. Maven
4. Java
CI/CD Deployment with GIT
Initial Configuration of Tools Required for the Implementation:
1. Setting the paths for
● JAVA_HOME
● MAVEN_HOME
● GIT
Inside system variables in the Environment Variables tab ,While having a setup in a
local system.
CI/CD Deployment with GIT
Steps to deploy application:
1. Create a basic Mule Application in Anypoint Studio
2. Setting the Mule application
● Open the project explorer and go to the pom.xml file.
● Add the deployment configuration in the Mule-Maven-Plugin.
CI/CD Deployment with GIT
Steps to deploy application:
3. Setting Up the Git and pushing the project jar file to GitHub repository
CI/CD Deployment with GIT
Steps to deploy application:
4. Configure Jenkins with required credentials
● Build Triggers
● Repository URL
● Branches to Build
● Script Path
5. According to the triggers when Git Repository will receive a new commit the pipeline
with execute automatically
CI/CD Deployment with GIT
Steps to deploy application:
6. Jenkins Pipeline Stage View After Completion
CI/CD Deployment with GIT
Steps to deploy application:
7. Anypoint Platform Runtime manager view
DEMONSTRATION
What is Azure DevOps?
Azure Pipelines is a service that caters the need for creating pipelines on Azure Cloud
Platform. It supports continuous integration (CI) and continuous delivery (CD), hence
constantly and consistently tests and builds your code and deploys it to any target by
defining a pipeline.
CI/CD Deployment with Azure
● Setting the Mule application
○ Open the project explorer and go to the pom.xml file.
○ Add the deployment configuration in the Mule-Maven-Plugin.
● Push the project files to the Azure repository
CI/CD Deployment with Azure
● Click on Pipelines from the left side menu and then Click on the “Create Pipeline”
button.
CI/CD Deployment with Azure
● Use the classic editor to create a pipeline without YAML.
● Start with an Empty Job
● Add a task( Maven and Download Secure file) to agent job.
CI/CD Deployment with Azure
● Configure the maven plugin with the required fields
CI/CD Deployment with Azure
● Add your secure file (settings.xml) and give reference variable name
CI/CD Deployment with Azure
● Setting the variable that we have passed dynamically in earlier maven plugin
CI/CD Deployment with Azure
● Run the created pipeline
CI/CD Deployment with Azure
● Pipeline is successfully completed and it is notified
CI/CD Deployment with Azure
● Application deployed successfully on cloudhub
DEMONSTRATION
CI/CD Deployment with Bitbucket
Steps to deploy application:
1. Create a basic Mule Application in Anypoint Studio
2. Setting the Mule application
● Open the project explorer and go to the pom.xml file.
● Add the deployment configuration in the Mule-Maven-Plugin.
CI/CD Deployment with Bitbucket
Steps to deploy application:
3. Create a project in Bitbucket Up and push the project files in Bitbucket repository
CI/CD Deployment with Bitbucket
Steps to deploy application:
4. Create Variable References in Bitbucket:
● By adding variables inside the Workspace Variables
CI/CD Deployment with Bitbucket
Steps to deploy application:
6. Under Variables section for the environments, create MULESOFT_ENVIRONMENT
variable with value Sandbox
CI/CD Deployment with Bitbucket
Steps to deploy application:
6. Create bitbucket-pipelines.yml as described below
pipelines:
default:
- step:
name: Git Security Scan
caches:
- maven
script:
- pipe: atlassian/git-secrets-scan:0.5.1
- step:
name: Validate & Compile
caches:
- maven
script:
- mvn -B clean -DskipTests compile
- step:
name: Deploy to Dev CloudHub
caches:
- maven
deployment: Sandbox
#trigger: manual
script:
- mvn -B clean -DskipTests deploy -DmuleDeploy
CI/CD Deployment with Bitbucket
Steps to deploy application:
7. Execute the pipeline
CI/CD Deployment with Bitbucket
Steps to deploy application:
8. Anypoint Platform Runtime manager view
DEMONSTRATION
41
● Be a Helping Hand
○ Contact the Meetup Organizers if you want to be Speaker in upcoming events
○ Use https://meetups.mulesoft.com/faridabad/ link to contact to Organizers
● Share:
○ Tweet using the hashtag #MuleSoftMeetups #FaridabadMeetup #MuleSoft
#MuleMeetup
○ Invite your network to join: https://meetups.mulesoft.com/faridabad/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?
Introduce yourself to your neighbor
Networking time
Thank you

More Related Content

What's hot

Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
sriram_rajan
 
Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!
Lorenzo Barbieri
 
AWS ECS vs EKS
AWS ECS vs EKSAWS ECS vs EKS
AWS ECS vs EKS
Norberto Enomoto
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdService Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Kai Wähner
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
Amazon Web Services
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
Amazon Web Services Korea
 
WAF deployment
WAF deploymentWAF deployment
WAF deployment
Aravindan A
 
SecDevOps
SecDevOpsSecDevOps
SecDevOps
Peter Lamar
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
NAVER D2
 
IaC on AWS Cloud
IaC on AWS CloudIaC on AWS Cloud
IaC on AWS Cloud
Bhuvaneswari Subramani
 
AWS networking fundamentals
AWS networking fundamentalsAWS networking fundamentals
AWS networking fundamentals
Amazon Web Services
 
MSA ( Microservices Architecture ) 발표 자료 다운로드
MSA ( Microservices Architecture ) 발표 자료 다운로드MSA ( Microservices Architecture ) 발표 자료 다운로드
MSA ( Microservices Architecture ) 발표 자료 다운로드
Opennaru, inc.
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
Simplilearn
 
CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton
Araf Karsh Hamid
 
AWS 101
AWS 101AWS 101
Building a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containersBuilding a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containers
Amazon Web Services
 
Datadogoverview.pptx
Datadogoverview.pptxDatadogoverview.pptx
Datadogoverview.pptx
ssuser8bc443
 
Data Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish VemuguntaData Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish Vemuguntafloridawusergroup
 
CI:CD in Lightspeed with kubernetes and argo cd
CI:CD in Lightspeed with kubernetes and argo cdCI:CD in Lightspeed with kubernetes and argo cd
CI:CD in Lightspeed with kubernetes and argo cd
Billy Yuen
 

What's hot (20)

Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
 
Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!Azure DevOps & GitHub... Better Together!
Azure DevOps & GitHub... Better Together!
 
AWS ECS vs EKS
AWS ECS vs EKSAWS ECS vs EKS
AWS ECS vs EKS
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdService Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
 
infrastructure as code
infrastructure as codeinfrastructure as code
infrastructure as code
 
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
AWS Elastic Beanstalk 활용하여 수 분만에 코드 배포하기 (최원근, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
 
WAF deployment
WAF deploymentWAF deployment
WAF deployment
 
SecDevOps
SecDevOpsSecDevOps
SecDevOps
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
 
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
 
IaC on AWS Cloud
IaC on AWS CloudIaC on AWS Cloud
IaC on AWS Cloud
 
AWS networking fundamentals
AWS networking fundamentalsAWS networking fundamentals
AWS networking fundamentals
 
MSA ( Microservices Architecture ) 발표 자료 다운로드
MSA ( Microservices Architecture ) 발표 자료 다운로드MSA ( Microservices Architecture ) 발표 자료 다운로드
MSA ( Microservices Architecture ) 발표 자료 다운로드
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
 
CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton CI-CD Jenkins, GitHub Actions, Tekton
CI-CD Jenkins, GitHub Actions, Tekton
 
AWS 101
AWS 101AWS 101
AWS 101
 
Building a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containersBuilding a CICD pipeline for deploying to containers
Building a CICD pipeline for deploying to containers
 
Datadogoverview.pptx
Datadogoverview.pptxDatadogoverview.pptx
Datadogoverview.pptx
 
Data Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish VemuguntaData Power Architectural Patterns - Jagadish Vemugunta
Data Power Architectural Patterns - Jagadish Vemugunta
 
CI:CD in Lightspeed with kubernetes and argo cd
CI:CD in Lightspeed with kubernetes and argo cdCI:CD in Lightspeed with kubernetes and argo cd
CI:CD in Lightspeed with kubernetes and argo cd
 

Similar to Deploying Mule Applications with Jenkins, Azure and BitBucket (1).pptx

Path To Continuous Test Automation Using CICD Pipeline.pdf
Path To Continuous Test Automation Using CICD Pipeline.pdfPath To Continuous Test Automation Using CICD Pipeline.pdf
Path To Continuous Test Automation Using CICD Pipeline.pdf
pCloudy
 
TMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael PalotasTMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael Palotas
KJR
 
Continous integration and delivery for single page applications
Continous integration and delivery for single page applicationsContinous integration and delivery for single page applications
Continous integration and delivery for single page applications
Sunil Dalal
 
Automate App Container Delivery with CI/CD and DevOps
Automate App Container Delivery with CI/CD and DevOpsAutomate App Container Delivery with CI/CD and DevOps
Automate App Container Delivery with CI/CD and DevOps
Daniel Oh
 
SCALABLE CI CD DEVOPS
SCALABLE CI CD DEVOPSSCALABLE CI CD DEVOPS
SCALABLE CI CD DEVOPS
G R VISHAL
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery WorkshopAgile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
CI/CD
CI/CDCI/CD
CI/CD
AmitDhodi
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11jul
Santosh Ojha
 
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with ConcourseContinuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
VMware Tanzu
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
Md. Minhazul Haque
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case Study
Talentica Software
 
Continuous Everything
Continuous EverythingContinuous Everything
Continuous Everything
Andrea Tino
 
DevOps: Age Of CI/CD
DevOps: Age Of CI/CDDevOps: Age Of CI/CD
DevOps: Age Of CI/CD
MoogleLabs default
 
Continuous Integration: A Case Study
Continuous Integration: A Case StudyContinuous Integration: A Case Study
Continuous Integration: A Case Study
IndicThreads
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
G R VISHAL
 
Continuous Integration using Jenkins with Python
Continuous Integration using Jenkins with PythonContinuous Integration using Jenkins with Python
Continuous Integration using Jenkins with Python
Inexture Solutions
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
VgPolampalli
 
Azure DevOps in Action
Azure DevOps in ActionAzure DevOps in Action
Azure DevOps in Action
Callon Campbell
 
Introduction to CICD
Introduction to CICDIntroduction to CICD
Introduction to CICD
Knoldus Inc.
 
iOS CI/CD: Continuous Integration and Continuous Delivery Explained
iOS CI/CD: Continuous Integration and Continuous Delivery ExplainediOS CI/CD: Continuous Integration and Continuous Delivery Explained
iOS CI/CD: Continuous Integration and Continuous Delivery Explained
Semaphore
 

Similar to Deploying Mule Applications with Jenkins, Azure and BitBucket (1).pptx (20)

Path To Continuous Test Automation Using CICD Pipeline.pdf
Path To Continuous Test Automation Using CICD Pipeline.pdfPath To Continuous Test Automation Using CICD Pipeline.pdf
Path To Continuous Test Automation Using CICD Pipeline.pdf
 
TMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael PalotasTMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael Palotas
 
Continous integration and delivery for single page applications
Continous integration and delivery for single page applicationsContinous integration and delivery for single page applications
Continous integration and delivery for single page applications
 
Automate App Container Delivery with CI/CD and DevOps
Automate App Container Delivery with CI/CD and DevOpsAutomate App Container Delivery with CI/CD and DevOps
Automate App Container Delivery with CI/CD and DevOps
 
SCALABLE CI CD DEVOPS
SCALABLE CI CD DEVOPSSCALABLE CI CD DEVOPS
SCALABLE CI CD DEVOPS
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery WorkshopAgile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery Workshop
 
CI/CD
CI/CDCI/CD
CI/CD
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11jul
 
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with ConcourseContinuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
 
Continous Integration: A Case Study
Continous Integration: A Case StudyContinous Integration: A Case Study
Continous Integration: A Case Study
 
Continuous Everything
Continuous EverythingContinuous Everything
Continuous Everything
 
DevOps: Age Of CI/CD
DevOps: Age Of CI/CDDevOps: Age Of CI/CD
DevOps: Age Of CI/CD
 
Continuous Integration: A Case Study
Continuous Integration: A Case StudyContinuous Integration: A Case Study
Continuous Integration: A Case Study
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
 
Continuous Integration using Jenkins with Python
Continuous Integration using Jenkins with PythonContinuous Integration using Jenkins with Python
Continuous Integration using Jenkins with Python
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
 
Azure DevOps in Action
Azure DevOps in ActionAzure DevOps in Action
Azure DevOps in Action
 
Introduction to CICD
Introduction to CICDIntroduction to CICD
Introduction to CICD
 
iOS CI/CD: Continuous Integration and Continuous Delivery Explained
iOS CI/CD: Continuous Integration and Continuous Delivery ExplainediOS CI/CD: Continuous Integration and Continuous Delivery Explained
iOS CI/CD: Continuous Integration and Continuous Delivery Explained
 

Recently uploaded

Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

Deploying Mule Applications with Jenkins, Azure and BitBucket (1).pptx

  • 1. Saturday, 16 July,2022 Faridabad MuleSoft Meetup Group Deploying Mule Applications with Jenkins, Azure and BitBucket
  • 2. 2 1. Introduction 2. Continuous Integration/Continuous Delivery 3. Jenkins Pipeline 4. CI/CD Deployment with Demo ● Jenkins with Git ● Azure ● BitBucket 1. Q & A 2. Kahoot Quiz Agenda
  • 3. 3 ●About the organizer: ○ Amit Singh ○ Pankaj Goyal Introductions A SHOW OF HANDS: Who is new to this Meetup?
  • 4. 4 Speakers for the session A SHOW OF HANDS: Who is new to this Meetup? Mitali Chaudhary Rohit Singh Mayank Sharma
  • 5. Safe Harbor Statement ● Both Speaker and Organizers are here with their own capacity and not representing any organization/company. ● Speaker is only sharing his/her knowledge and is not responsible if the same product does not work for your company. ● Please make all the design decision by understanding what is available in current product(MuleSoft). ● We all are here to learn together “The moto is to learn together” 5
  • 6. A recording of this meetup will be uploaded to events page within 24 hours. Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab. Make it more Interactive!!! Give us feedback! Rate this meetup session by filling feedback form at the end of the day. We Love Feedbacks!!! Its Bread & Butter for Meetup. Housekeeping 6
  • 7. What is Software Deployment ? Deployment is the mechanism through which applications, modules, updates, and patches are delivered from developers to end users. The methods used by developers to build, test and deploy new code will impact how fast a product can respond to changes in customer preferences or requirements and the quality of each change. 7
  • 8. What is CI/CD ? CI and CD stand for continuous integration and continuous delivery/continuous deployment. In very simple terms, CI is a modern software development practice in which incremental code changes are made frequently and reliably. CD stands for continuous delivery/deployment ,which is a software development practice that works in conjunction with continuous integration to automate the infrastructure provisioning the release of application. 8
  • 9. Continuous Delivery vs Deployment What is the CD in CI/CD? Does it stand for deployment or delivery? Well, the answer is both. Depending on the existing workflow and requirements, your team would pick the practice that best fits them and their product. Continuous delivery is the best choice for companies that want to take control and be the last filter before new releases are deployed to the end-users. 9
  • 10. Why is CI/CD Important ? 10 CI/CD allows organizations to ship software quickly and efficiently. CI/CD facilitates an effective process for getting products to market faster than ever before, continuously delivering code into production, and ensuring an ongoing flow of new features and bug fixes via the most efficient delivery method.
  • 11. What is Jenkins ? Jenkins is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. Jenkins is used to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. Advantages of using Jenkins: ● It is an open-source tool with great community support. ● It is built with Java and hence, it is supported by all the major platforms. ● It has 1000+ plugins to ease your work with different technologies
  • 12. What is Jenkins Pipeline ? Jenkins Pipeline is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins.It provides an extensible set of tools for modeling simple-to-complex delivery pipelines "as code". The Pipeline Script is written into a text file (called a Jenkinsfile) which is checked into a project’s source control repository.
  • 13. Declarative Script pipeline { agent any stages { stage('Build') { steps { bat 'mvn clean install' } } stage('Test') { steps { bat 'mvn test' } } stage('Deploy') { steps { bat 'mvn package deploy -DmuleDeploy' } } } } Execute this Pipeline on any available agent. Defines the "Build" stage. Executes the Defined maven command.
  • 14. CI/CD Deployment with GIT Tools Required for the Implementation: 1. Jenkins 2. GIT 3. Maven 4. Java
  • 15. CI/CD Deployment with GIT Initial Configuration of Tools Required for the Implementation: 1. Setting the paths for ● JAVA_HOME ● MAVEN_HOME ● GIT Inside system variables in the Environment Variables tab ,While having a setup in a local system.
  • 16. CI/CD Deployment with GIT Steps to deploy application: 1. Create a basic Mule Application in Anypoint Studio 2. Setting the Mule application ● Open the project explorer and go to the pom.xml file. ● Add the deployment configuration in the Mule-Maven-Plugin.
  • 17. CI/CD Deployment with GIT Steps to deploy application: 3. Setting Up the Git and pushing the project jar file to GitHub repository
  • 18. CI/CD Deployment with GIT Steps to deploy application: 4. Configure Jenkins with required credentials ● Build Triggers ● Repository URL ● Branches to Build ● Script Path 5. According to the triggers when Git Repository will receive a new commit the pipeline with execute automatically
  • 19. CI/CD Deployment with GIT Steps to deploy application: 6. Jenkins Pipeline Stage View After Completion
  • 20. CI/CD Deployment with GIT Steps to deploy application: 7. Anypoint Platform Runtime manager view
  • 22. What is Azure DevOps? Azure Pipelines is a service that caters the need for creating pipelines on Azure Cloud Platform. It supports continuous integration (CI) and continuous delivery (CD), hence constantly and consistently tests and builds your code and deploys it to any target by defining a pipeline.
  • 23. CI/CD Deployment with Azure ● Setting the Mule application ○ Open the project explorer and go to the pom.xml file. ○ Add the deployment configuration in the Mule-Maven-Plugin.
  • 24. ● Push the project files to the Azure repository CI/CD Deployment with Azure
  • 25. ● Click on Pipelines from the left side menu and then Click on the “Create Pipeline” button. CI/CD Deployment with Azure
  • 26. ● Use the classic editor to create a pipeline without YAML. ● Start with an Empty Job ● Add a task( Maven and Download Secure file) to agent job. CI/CD Deployment with Azure
  • 27. ● Configure the maven plugin with the required fields CI/CD Deployment with Azure
  • 28. ● Add your secure file (settings.xml) and give reference variable name CI/CD Deployment with Azure
  • 29. ● Setting the variable that we have passed dynamically in earlier maven plugin CI/CD Deployment with Azure
  • 30. ● Run the created pipeline CI/CD Deployment with Azure
  • 31. ● Pipeline is successfully completed and it is notified CI/CD Deployment with Azure ● Application deployed successfully on cloudhub
  • 33. CI/CD Deployment with Bitbucket Steps to deploy application: 1. Create a basic Mule Application in Anypoint Studio 2. Setting the Mule application ● Open the project explorer and go to the pom.xml file. ● Add the deployment configuration in the Mule-Maven-Plugin.
  • 34. CI/CD Deployment with Bitbucket Steps to deploy application: 3. Create a project in Bitbucket Up and push the project files in Bitbucket repository
  • 35. CI/CD Deployment with Bitbucket Steps to deploy application: 4. Create Variable References in Bitbucket: ● By adding variables inside the Workspace Variables
  • 36. CI/CD Deployment with Bitbucket Steps to deploy application: 6. Under Variables section for the environments, create MULESOFT_ENVIRONMENT variable with value Sandbox
  • 37. CI/CD Deployment with Bitbucket Steps to deploy application: 6. Create bitbucket-pipelines.yml as described below pipelines: default: - step: name: Git Security Scan caches: - maven script: - pipe: atlassian/git-secrets-scan:0.5.1 - step: name: Validate & Compile caches: - maven script: - mvn -B clean -DskipTests compile - step: name: Deploy to Dev CloudHub caches: - maven deployment: Sandbox #trigger: manual script: - mvn -B clean -DskipTests deploy -DmuleDeploy
  • 38. CI/CD Deployment with Bitbucket Steps to deploy application: 7. Execute the pipeline
  • 39. CI/CD Deployment with Bitbucket Steps to deploy application: 8. Anypoint Platform Runtime manager view
  • 41. 41 ● Be a Helping Hand ○ Contact the Meetup Organizers if you want to be Speaker in upcoming events ○ Use https://meetups.mulesoft.com/faridabad/ link to contact to Organizers ● Share: ○ Tweet using the hashtag #MuleSoftMeetups #FaridabadMeetup #MuleSoft #MuleMeetup ○ Invite your network to join: https://meetups.mulesoft.com/faridabad/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program What’s next?
  • 42. Introduce yourself to your neighbor Networking time