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
Ad

More Related Content

What's hot (20)

Gitlab ci-cd
Gitlab ci-cdGitlab ci-cd
Gitlab ci-cd
Dan MAGIER
 
GitOps with Gitkube
GitOps with GitkubeGitOps with Gitkube
GitOps with Gitkube
Tirumarai Selvan
 
DevOps with Kubernetes
DevOps with KubernetesDevOps with Kubernetes
DevOps with Kubernetes
EastBanc Tachnologies
 
Kubernetes or OpenShift - choosing your container platform for Dev and Ops
Kubernetes or OpenShift - choosing your container platform for Dev and OpsKubernetes or OpenShift - choosing your container platform for Dev and Ops
Kubernetes or OpenShift - choosing your container platform for Dev and Ops
Tomasz Cholewa
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
Webinar - Unbox GitLab CI/CD
Webinar - Unbox GitLab CI/CD Webinar - Unbox GitLab CI/CD
Webinar - Unbox GitLab CI/CD
Annie Huang
 
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdfSRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Weaveworks
 
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Meetup 23 - 03 - Application Delivery on K8S with GitOpsMeetup 23 - 03 - Application Delivery on K8S with GitOps
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Vietnam Open Infrastructure User Group
 
Red Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABCRed Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABC
Robert Bohne
 
Observability in Java: Getting Started with OpenTelemetry
Observability in Java: Getting Started with OpenTelemetryObservability in Java: Getting Started with OpenTelemetry
Observability in Java: Getting Started with OpenTelemetry
DevOps.com
 
OpenTelemetry For Architects
OpenTelemetry For ArchitectsOpenTelemetry For Architects
OpenTelemetry For Architects
Kevin Brockhoff
 
Keycloak開発入門
Keycloak開発入門Keycloak開発入門
Keycloak開発入門
Yuichi Nakamura
 
Keycloak入門
Keycloak入門Keycloak入門
Keycloak入門
Hiroyuki Wada
 
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyerCase Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Noa Harel
 
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
OpenID Foundation Japan
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
CJ Cullen
 
Kubernetes security
Kubernetes securityKubernetes security
Kubernetes security
Thomas Fricke
 
BuildKitの概要と最近の機能
BuildKitの概要と最近の機能BuildKitの概要と最近の機能
BuildKitの概要と最近の機能
Kohei Tokunaga
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
Julien Maitrehenry
 
Kubernetes or OpenShift - choosing your container platform for Dev and Ops
Kubernetes or OpenShift - choosing your container platform for Dev and OpsKubernetes or OpenShift - choosing your container platform for Dev and Ops
Kubernetes or OpenShift - choosing your container platform for Dev and Ops
Tomasz Cholewa
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCDKubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
Webinar - Unbox GitLab CI/CD
Webinar - Unbox GitLab CI/CD Webinar - Unbox GitLab CI/CD
Webinar - Unbox GitLab CI/CD
Annie Huang
 
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdfSRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Weaveworks
 
Red Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABCRed Hat OpenShift Operators - Operators ABC
Red Hat OpenShift Operators - Operators ABC
Robert Bohne
 
Observability in Java: Getting Started with OpenTelemetry
Observability in Java: Getting Started with OpenTelemetryObservability in Java: Getting Started with OpenTelemetry
Observability in Java: Getting Started with OpenTelemetry
DevOps.com
 
OpenTelemetry For Architects
OpenTelemetry For ArchitectsOpenTelemetry For Architects
OpenTelemetry For Architects
Kevin Brockhoff
 
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyerCase Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Case Study: Migration to GitLab (from Bitbucket) at AppsFlyer
Noa Harel
 
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
法人認証基盤GビズIDと今後の法人KYC - OpenID BizDay #14
OpenID Foundation Japan
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
CJ Cullen
 
BuildKitの概要と最近の機能
BuildKitの概要と最近の機能BuildKitの概要と最近の機能
BuildKitの概要と最近の機能
Kohei Tokunaga
 

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
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
 
Jenkins-Resource un documennt ingénierie.pdf
Jenkins-Resource un documennt ingénierie.pdfJenkins-Resource un documennt ingénierie.pdf
Jenkins-Resource un documennt ingénierie.pdf
templatehtmlcssjss
 
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
 
CI CD Pipeline Interview Questions PDF By ScholarHat
CI CD Pipeline Interview Questions PDF By ScholarHatCI CD Pipeline Interview Questions PDF By ScholarHat
CI CD Pipeline Interview Questions PDF By ScholarHat
Scholarhat
 
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
 
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
 
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
 
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
 
Jenkins-Resource un documennt ingénierie.pdf
Jenkins-Resource un documennt ingénierie.pdfJenkins-Resource un documennt ingénierie.pdf
Jenkins-Resource un documennt ingénierie.pdf
templatehtmlcssjss
 
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
 
CI CD Pipeline Interview Questions PDF By ScholarHat
CI CD Pipeline Interview Questions PDF By ScholarHatCI CD Pipeline Interview Questions PDF By ScholarHat
CI CD Pipeline Interview Questions PDF By ScholarHat
Scholarhat
 
varun JENKINS.pptx
varun JENKINS.pptxvarun JENKINS.pptx
varun JENKINS.pptx
VgPolampalli
 
Ad

Recently uploaded (20)

Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Mathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdfMathematical foundation machine learning.pdf
Mathematical foundation machine learning.pdf
TalhaShahid49
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)International Journal of Distributed and Parallel systems (IJDPS)
International Journal of Distributed and Parallel systems (IJDPS)
samueljackson3773
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Ad

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 [email protected] for ways to improve the program What’s next?
  • 42. Introduce yourself to your neighbor Networking time