Upload
vishal-biyani
View
16.381
Download
0
Embed Size (px)
Citation preview
www.vishalbiyani.com
With Jenkin’splugin based
architecture- we need plugins for building pipelines
We found two and we used “Build
pipeline plugin” for demonstrating the
concept
www.vishalbiyani.com
BuildPipeline is available as a view
in Jenkins – so let’s add that
And let’s configure one test job. The
job has configurations to attach it to a build
pipeline
www.vishalbiyani.com
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
manually-subsequent 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!