Versions Compared

Key

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

Table of Contents

Steps to configure 3.0 Scripts in Automatics

Before configuring scripts, ensure that device models are mapped against corresponding device category in Automatics Orchestration.

  1. Execute Jenkins Job for Porting 3.0 APIs in Automatics Core project
  2. Execute Jenkins Job for Porting 3.0 APIs in Automatics Scriptless Automation project
  3. Execute Jenkins Job for Porting 3.0 APIs in RDKV Test Utils
  4. Execute Jenkins Job for Porting 3.0 APIs in RDKB Test Utils
  5. Import the json file for Test Utility from <Release page> via Automatics Orchestration
  6. Import the json file for Test Scripts from <Release page> via Automatics Orchestration
  7. Import the test script details in excel sheet in 1.0 format via Automatics Orchestration

Please follow the below steps to deploy automatics core to Artifact repositories from Jenkins job


Introduction


Jenkins is used by Automatics for following activities. 

...

...


What is Jenkins Pipeline?

...

Term

Description

Pipeline

The 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.

Node

The machine on which Jenkins runs is called a node. A node block is mainly used in scripted pipeline syntax.

Stage

A 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.

Step

A step is nothing but a single task that executes a specific process at a defined time. A pipeline involves a series of steps.


 <Jenkins URL >URL: https://automatics-jenkins.rdkcentral.com:8443/:<<Jenkins url>>

After created a jenkins job user will genereted a github link. 

  • Click on New Item in the Jenkins dashboard.

...

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

Created a generic pipeline. for all the utils and Parser. URL give below:

URL: https://rdkauto14.ccp.xcal.tv:8443/job/RDKM_CODE_DEPLOY_AND_3.0_API_Parser/.

User can find all the results in stage view of all utils and parser for kind reference. 

...

Code Block
languagegroovy
themeDJango
clean package -DskipTests exec:java -Dautomatics.properties.file="https://rdk-automatics01.stb.r53.xcal.tv:8443/AutomaticsProps/automatics.propertiesxxx"


Once user entered all the details successfully. Job creation done successfully.

...