{"id":81365,"date":"2022-03-22T02:47:57","date_gmt":"2022-03-22T08:17:57","guid":{"rendered":"https:\/\/www.whizlabs.com\/blog\/?p=81365"},"modified":"2022-04-08T04:11:00","modified_gmt":"2022-04-08T09:41:00","slug":"ci-cd-pipeline-inside-jenkins-tutorial","status":"publish","type":"post","link":"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/","title":{"rendered":"How to Create CI\/CD Pipeline Inside Jenkins ?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Jenkins is an automation tool providing continuous integration. It is open source and has been written in the Java Programming Language. It helps in the automation of software development parts that relate to build, test and deployment, and ensures constant delivery. <\/span><span style=\"font-weight: 400;\">What follows below is one aspect or you say the objective of the <a href=\"https:\/\/www.whizlabs.com\/certified-jenkins-engineer\/\">Jenkins Certification<\/a>. <\/span>Let us see how to create a CI\/CD pipeline inside Jenkins.<\/p>\n<p>Continuous Integration\/Continuous Deployment is the backbone of DevOps. CI\/CD fills the gap between development and operations team by automating the steps like build, test and deployment.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ea7e02;color:#ea7e02\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ea7e02;color:#ea7e02\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/#What_is_Jenkins_Pipeline\" >What is Jenkins Pipeline?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/#How_to_Build_a_Jenkins_Pipeline\" >How to Build a Jenkins Pipeline?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/#Configure_a_Pipeline_Through_Direct_Script\" >Configure a Pipeline Through Direct Script<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/#Configure_a_Pipeline_Through_SCM\" >Configure a Pipeline Through SCM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.whizlabs.com\/blog\/ci-cd-pipeline-inside-jenkins-tutorial\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_Jenkins_Pipeline\"><\/span>What is Jenkins Pipeline?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A Pipeline is a sequence of executable events or jobs. Jenkins itself does not perform any functionalities, it offers a way for other applications and tools to plug into Jenkins and execute the tasks.<\/p>\n<p>The pipeline contains N number of stages and list of steps to be performed in each stage. A stage can be named as anything. A step is simply says what needs to be executed, and needs to be an executable command through Jenkins environment.<\/p>\n<p>The Jenkins pipeline is typically given as a script called as a Jenkinsfile.<\/p>\n<div class=\"title\">Here is an example of simple Jenkinsfile:<\/div>\n<div class=\"content\">\n<pre class=\"CodeRay highlight nowrap\">\/\/ Example Jenkins Pipeline Script\r\npipeline {\r\n    stages {\r\n        stage('build') {\r\n            steps {\r\n\/\/Executable command as a step\r\n         echo \"This is an example jenkinsfile\"\r\n         sh 'mvn --version'\r\n            }\r\n        }\r\n    }\r\n}\r\n\/\/End of Pipeline<\/pre>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Build_a_Jenkins_Pipeline\"><\/span>How to Build a Jenkins Pipeline?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Let us now see the steps to build Jenkins pipeline. Before starting, make sure you have Jenkins installed.<\/p>\n<p>Open a web browser and navigate to Jenkins URL. In my case, it&#8217;s public IP address of amazon EC2 instance on port 8080.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81408 size-full\" title=\"Jenkins Start Page\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page.png\" alt=\"Jenkins Start Page\" width=\"1423\" height=\"755\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page.png 1423w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-300x160.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-1024x543.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-768x407.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-792x420.png 792w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-640x340.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/Jenkins-start-page-681x361.png 681w\" sizes=\"(max-width: 1423px) 100vw, 1423px\" \/><\/p>\n<p>Click on the &#8220;New Item&#8221; and define what kind of Jenkins job needs to be created. Select &#8220;Pipeline&#8221;, give it a name and click on ok.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81409 size-full\" title=\"Create jenkins pipeline Job\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job.png\" alt=\"Create jenkins pipeline Job\" width=\"1426\" height=\"714\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job.png 1426w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-1024x513.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-839x420.png 839w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/create-pipeline-job-681x341.png 681w\" sizes=\"(max-width: 1426px) 100vw, 1426px\" \/><\/p>\n<p>On the next page, you will see pipeline configurations steps. There are two possible ways to execute Jenkins pipelines.<\/p>\n<ul>\n<li>Writing pipeline script directly on Jenkins<\/li>\n<li>Use the Jenkinsfile from SCM (source code management)<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Configure_a_Pipeline_Through_Direct_Script\"><\/span>Configure a Pipeline Through Direct Script<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>On the pipeline configuration page, scroll down until the pipeline section. Copy the below code and paste it. I have used 3 stages in this example script, Building, Testing and Deploying. I have just printing some messages in each stage and executable steps.<\/p>\n<div class=\"title\">Sample Jenkins Pipeline:<\/div>\n<div class=\"content\">\n<pre class=\"CodeRay highlight nowrap\">\/\/Sample script for configuring pipeline through direct script\r\n\r\npipeline {\r\n    agent any\r\n    stages {\r\n       stage(<span class=\"pl-s\"><span class=\"pl-pds\">'<\/span>Building<span class=\"pl-pds\">'<\/span><\/span>) {\r\n         steps {\r\n           echo <span class=\"pl-s\"><span class=\"pl-pds\">'<\/span>Building Stage Running...<span class=\"pl-pds\">'\r\n           echo \"Running <span class=\"pl-s1\"><span class=\"pl-pse\">${<\/span>env.BUILD_ID<span class=\"pl-pse\">}<\/span><\/span> <span class=\"pl-s1\"><span class=\"pl-pse\">${<\/span>env.BUILD_DISPLAY_NAME<span class=\"pl-pse\">}<\/span><\/span> on <span class=\"pl-s1\"><span class=\"pl-pse\">${<\/span>env.NODE_NAME<span class=\"pl-pse\">}<\/span><\/span> and JOB <span class=\"pl-s1\"><span class=\"pl-pse\">${<\/span>env.JOB_NAME<span class=\"pl-pse\">}<\/span><\/span>\"\r\n<\/span><\/span>         }\r\n       }\r\n       stage(<span class=\"pl-s\"><span class=\"pl-pds\">'<\/span>Testing<span class=\"pl-pds\">'<\/span><\/span>) {\r\n         steps {\r\n           echo <span class=\"pl-s\"><span class=\"pl-pds\">'Testing<\/span> Stage Running...<span class=\"pl-pds\">'\r\n<\/span><\/span>         }\r\n       }\r\n       stage(<span class=\"pl-s\"><span class=\"pl-pds\">'<\/span>Deploying<span class=\"pl-pds\">'<\/span><\/span>) {\r\n         steps {\r\n           echo <span class=\"pl-s\"><span class=\"pl-pds\">'<\/span>Deploying Stage Running...<span class=\"pl-pds\">'\r\n<\/span><\/span>         }\r\n       }\r\n   }\r\n}\r\n\r\n<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81411 size-full\" title=\"jenkins direct pipeline\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline.png\" alt=\"jenkins direct pipeline\" width=\"1426\" height=\"716\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline.png 1426w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-836x420.png 836w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-direct-pipeline-681x342.png 681w\" sizes=\"(max-width: 1426px) 100vw, 1426px\" \/><\/p>\n<p>Save the configurations and click on Build Now.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81412 size-full\" title=\"jenkins pipelines build\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build.png\" alt=\"jenkins pipelines build\" width=\"1426\" height=\"714\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build.png 1426w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-1024x513.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-839x420.png 839w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-build-681x341.png 681w\" sizes=\"(max-width: 1426px) 100vw, 1426px\" \/><\/p>\n<p>Click on Logs to view the output of our script.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81413 size-full\" title=\"pipeline logs\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs.png\" alt=\"pipeline logs\" width=\"1425\" height=\"718\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs.png 1425w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-834x420.png 834w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/pipeline-logs-681x343.png 681w\" sizes=\"(max-width: 1425px) 100vw, 1425px\" \/><\/p>\n<p>That&#8217;s it. We have successfully configured a pipeline through direct script.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Configure_a_Pipeline_Through_SCM\"><\/span>Configure a Pipeline Through SCM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this step, we will be using Jenkinsfile from the <a href=\"https:\/\/github.com\/dharma1408\/jenkins-pipeline-demo\" target=\"_blank\" rel=\"noopener\">GitHub repository<\/a>. Let us create a new job to perform this task.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81414 size-full\" title=\"jenkins pipeline scm\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM.png\" alt=\"jenkins pipeline scm\" width=\"1425\" height=\"716\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM.png 1425w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-836x420.png 836w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/jenkins-pipeline-SCM-681x342.png 681w\" sizes=\"(max-width: 1425px) 100vw, 1425px\" \/><\/p>\n<p>On the pipeline configuration page, select the option &#8220;Pipeline Script from SCM&#8221; and SCM as &#8220;Git&#8221; then paste the GitHub repository URL. Type Jenkinsfile in script path and save the changes.<\/p>\n<p>Note: Make sure you have git installed on your system or on the virtual machine where you have installed Jenkins. In my case, I am using EC2 instance with Amazon Linux. I have installed git using the below command.<\/p>\n<pre class=\"text-white bg-dark\">sudo yum install git<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-81415 size-full\" title=\"jenkins pipeline demo SCM\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline.png\" alt=\"jenkins pipeline demo SCM\" width=\"1422\" height=\"717\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline.png 1422w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-833x420.png 833w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-640x323.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/connect-git-to-jenkins-pipeline-681x343.png 681w\" sizes=\"(max-width: 1422px) 100vw, 1422px\" \/><\/p>\n<p>Click on save and click &#8220;Build Now&#8221; to start the pipeline.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Hope we were able to clear the concept and this article may help you with <a href=\"https:\/\/www.whizlabs.com\/blog\/certified-jenkins-engineer-exam-preparation\/\">Jenkins certification preparation<\/a>. Plus this article was an addition to your already existing and polished knowledge base on Jenkins. If you want to pass the Jenkins certification exam on your first attempt, then spend more time on your learning. Stay tuned. Let&#8217;s catch up with another article soon!<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Jenkins is an automation tool providing continuous integration. It is open source and has been written in the Java Programming Language. It helps in the automation of software development parts that relate to build, test and deployment, and ensures constant delivery. What follows below is one aspect or you say the objective of the Jenkins Certification. Let us see how to create a CI\/CD pipeline inside Jenkins. Continuous Integration\/Continuous Deployment is the backbone of DevOps. CI\/CD fills the gap between development and operations team by automating the steps like build, test and deployment. What is Jenkins Pipeline? A Pipeline is [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":81688,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1862],"tags":[4840,4841],"class_list":["post-81365","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-jenkins-certification","tag-jenkins-training"],"uagb_featured_image_src":{"full":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins-150x150.png",150,150,true],"medium":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins-300x158.png",300,158,true],"medium_large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"1536x1536":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"2048x2048":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"profile_24":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",24,13,false],"profile_48":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",48,25,false],"profile_96":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",96,50,false],"profile_150":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",150,79,false],"profile_300":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",300,158,false],"tptn_thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins-250x250.png",250,250,true],"web-stories-poster-portrait":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",600,315,false],"web-stories-publisher-logo":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",96,50,false],"web-stories-thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/03\/How-to-create-CI_CD-Pipeline-inside-Jenkins.png",150,79,false]},"uagb_author_info":{"display_name":"Dharmalingam N","author_link":"https:\/\/www.whizlabs.com\/blog\/author\/dharmalingam\/"},"uagb_comment_info":5,"uagb_excerpt":"Jenkins is an automation tool providing continuous integration. It is open source and has been written in the Java Programming Language. It helps in the automation of software development parts that relate to build, test and deployment, and ensures constant delivery. What follows below is one aspect or you say the objective of the Jenkins&hellip;","_links":{"self":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/81365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/comments?post=81365"}],"version-history":[{"count":12,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/81365\/revisions"}],"predecessor-version":[{"id":81605,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/81365\/revisions\/81605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media\/81688"}],"wp:attachment":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media?parent=81365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/categories?post=81365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/tags?post=81365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}