Jenkins
http://jenkins-ci.org/

www.vishalbiyani.com
With Jenkin’s
plugin based
architecture- we
need plugins for
building pipelines

www.vishalbiyani.com

We found two and
we used “Build
pipeline plugin” for
demonstrating the
concept
A sample pipeline
from the plugin
page

www.vishalbiyani.com
BuildPipeline is
available as a view
in Jenkins – so
let’s add that

www.vishalbiyani.com

And let’s configure
one test job. The
job has
configurations to
attach it to a build
pipeline
As a result of
above steps- we
get a very basic
pipeline – now let’s
add some real
material to it

www.vishalbiyani.com
Each individual unit of
work will be a job in
Jenkins. So we have
build-deploy-test jobs
for Dev and QA

How to connect them
to form a pipeline we
will see next

www.vishalbiyani.com
Post build actions -If we
want next job to be
triggered automatically
(Above) and if the next
job will be kicked off
manually (Below) but is
part of pipeline

www.vishalbiyani.com
We have Build, Deploy
and Test for Dev
triggered
automatically one
after another

But QA Deploy has a
manual “Click” needed.
So we can configure the
way we want it. They are
part of same “pipeline”

And we kicked off
the QA Deploy
manuallysubsequent jobs
are auto triggered
www.vishalbiyani.com
One caution though: If
you trigger jobs from
job page and not from
pipeline view – that
won’t be recorded by
pipeline

I triggered #3 through
pipeline then 4,5 through
job page and next run (#7)
through pipeline view.
Pipeline view only cares for
what it manages!

www.vishalbiyani.com
A history of
pipeline

www.vishalbiyani.com
Jenkins - Concluding thoughts
• Basic support for CD pipelines
• Very high number of plugins
available and heavy customizations
• The semantic was still CI oriented
• Still a very good open source option
• Can be heavily customized to achieve
what is needed for a CD pipeline

www.vishalbiyani.com

Using CI for continuous delivery Part 4

  • 1.
  • 2.
    With Jenkin’s plugin based architecture-we need plugins for building pipelines www.vishalbiyani.com We found two and we used “Build pipeline plugin” for demonstrating the concept
  • 3.
    A sample pipeline fromthe plugin page www.vishalbiyani.com
  • 4.
    BuildPipeline is available asa view in Jenkins – so let’s add that www.vishalbiyani.com And let’s configure one test job. The job has configurations to attach it to a build pipeline
  • 5.
    As a resultof above steps- we get a very basic pipeline – now let’s add some real material to it www.vishalbiyani.com
  • 6.
    Each individual unitof work will be a job in Jenkins. So we have build-deploy-test jobs for Dev and QA How to connect them to form a pipeline we will see next www.vishalbiyani.com
  • 7.
    Post build actions-If we want next job to be triggered automatically (Above) and if the next job will be kicked off manually (Below) but is part of pipeline www.vishalbiyani.com
  • 8.
    We have Build,Deploy and Test for Dev triggered automatically one after another But QA Deploy has a manual “Click” needed. So we can configure the way we want it. They are part of same “pipeline” And we kicked off the QA Deploy manuallysubsequent jobs are auto triggered www.vishalbiyani.com
  • 9.
    One caution though:If you trigger jobs from job page and not from pipeline view – that won’t be recorded by pipeline I triggered #3 through pipeline then 4,5 through job page and next run (#7) through pipeline view. Pipeline view only cares for what it manages! www.vishalbiyani.com
  • 10.
  • 11.
    Jenkins - Concludingthoughts • Basic support for CD pipelines • Very high number of plugins available and heavy customizations • The semantic was still CI oriented • Still a very good open source option • Can be heavily customized to achieve what is needed for a CD pipeline www.vishalbiyani.com