Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Click on ‘Apply’ and ‘Save’


Jenkins Deployment Pipeline




Table of Contents





General Overview

what is Jenkins Pipeline?

...

  • Jenkins pipeline is implemented as a code which allows multiple users to edit and execute the pipeline process.
  • Pipelines are robust. So if your server undergoes an unforeseen restart, the pipeline will be automatically resumed.
  • You can pause the pipeline process and make it wait to resume until there is an input from the user.
  • Jenkins Pipelines support big projects. You can run multiple jobs, and even use pipelines in a loop.


Jenkins pipeline concept


TermDescription
PipelineThe pipeline is a set of instructions given in the form of code for continuous delivery and consists of instructions needed for the entire build process. With pipeline, you can build, test, and deliver the application.
NodeThe machine on which Jenkins runs is called a node. A node block is mainly used in scripted pipeline syntax.
StageA stage block contains a series of steps in a pipeline. That is, the build, test, and deploy processes all come together in a stage. Generally, a stage block is used to visualize the Jenkins pipeline process.
StepA step is nothing but a single task that executes a specific process at a defined time. A pipeline involves a series of steps.


RDK-M Jenkins URL 


https://rdkauto14.ccp.xcal.tv:8443/

Paste this URL in respective browser.

Image Added



Click on the New Item and Create a job name .


Image Added



Based on the jobs we need to select the type of  projects. Once project created it will be listed in job list 


Image Added


Pipeline Syntax For RDKM_DEPLOY_AUTOMATICS_CORE

node{

stage('Deployment DEPLOY_AUTOMATICS_CORE') {
       echo "Calling RDKM_DEPLOY_AUTOMATICS_CORE Job"
       build job: 'RDKM_DEPLOY_AUTOMATICS_CORE', wait: true, propagate: true

}

}

Pipeline Syntax For RDKM_DEPLOY_RDKB_TEST_UTILS

node {
    
    stage('Deployment RDKM_DEPLOY_RDKB_TEST_UTILS') {
       echo "Calling RDKM_DEPLOY_RDKB_TEST_UTILS Job"
       build job: 'RDKM_DEPLOY_RDKB_TEST_UTILS', wait: true, propagate: true
    }

}
    

Pipeline Syntax For RDKM_DEPLOY_RDKV_TEST_UTILS

node {


    stage('Deployment RDKM_DEPLOY_RDKV_TEST_UTILS') {
       echo "Calling RDKM_DEPLOY_RDKV_TEST_UTILS Job"
       build job: 'RDKM_DEPLOY_RDKV_TEST_UTILS', wait: true, propagate: true
    }
    }

Pipeline Syntax For RDKM_AUTOMATICS_API_SCAN_FOR_AUTOMATICS_CORE

node {

     stage('Run utility parser for Automatics Core') {
       echo "Calling RDKM_AUTOMATICS_API_SCAN_FOR_AUTOMATICS_CORE Job"
       build job: 'RDKM_AUTOMATICS_API_SCAN_FOR_AUTOMATICS_CORE', wait: true, propagate: true
    }
    }

Pipeline Syntax For RDKM_AUTOMATICS_API_SCAN_FOR_SCRIPTLESS_AUTOMATION

node {
    stage('Run utility parser for Scriptless Automation') {
       echo "Calling RDKM_AUTOMATICS_API_SCAN_FOR_SCRIPTLESS_AUTOMATION Job"
       build job: 'RDKM_AUTOMATICS_API_SCAN_FOR_SCRIPTLESS_AUTOMATION', wait: true, propagate: true
    }
    }

Pipeline Syntax For RDKM_AUTOMATICS_API_SCAN_FOR_RDKB_UTILS

node {     

stage('Run utility parser for RDKB Test Utils') {
       echo "Calling RDKM_AUTOMATICS_API_SCAN_FOR_RDKB_UTILS Job"
       build job: 'RDKM_AUTOMATICS_API_SCAN_FOR_RDKB_UTILS', wait: true, propagate: true
    }

}
    Pipeline Syntax For RDKM_AUTOMATICS_API_SCAN_FOR_RDKV_UTILS

node

{
    stage('Run utility parser for RDKV Test Utils') {
       echo "Calling RDKM_AUTOMATICS_API_SCAN_FOR_RDKV_UTILS Job"
       build job: 'RDKM_AUTOMATICS_API_SCAN_FOR_RDKV_UTILS', wait: true, propagate: true
    }
}