Versions Compared

Key

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

...

  1. Clone the repository https://code.rdkcentral.com/r/admin/repos/rdk/tools/automatics/dev-ops(Please open the above url in browser and git clone url is available in the page) and navigate to the jenkinsServerSetup directory:

    Code Block
    git clone <repository_url>
    cd dev-ops/jenkinsServerSetup


  2. Execute the installation script as sudo:

    Code Block
    sudo sh install_jenkins_server.sh

    This script installs Docker, pulls the Jenkins server image from Docker Hub, and installs necessary dependencies like Maven and Jenkins plugins. It also creates Automatics Core & RDKB Utils build jobs and build and deployment jobs.

  3. During script execution, provide inputs such as the port for the Jenkins server. After setup, access Jenkins via the browser using the public IP and port (e.g., 192.168.91.44:8909).

  4. Configure Jenkins security:

    • Go to "Manage Jenkins" → "Security".
    • Under Security Realm, select Jenkins’ own user database.
    • In the Authorization section, select "Logged-in users can do anything".
    • Unselect "Allow anonymous read access".
    • Click "Save".
  5. Modify the necessary configurations in the pre-created Jenkins jobs (e.g., Maven repo URL, shell script file paths).

...

Jenkins Job Name

Configuration to be

done in Jenkins Jobs

Steps carryout

the configuration

Automatics_Build_JobNIL
Automatics_Deployment_jobNIL
CI_Automatics_Code_Deploy_And_3.0_Api_ParserNIL
CI_Api_Parser_Automatics_CoreConfigure automatics properties URL in 
the JAVA_OPTS "-Dautomatics.properties.file=Automatics_Props_URL_Tobe_Added_here"
Under Goals of BUILD Tab
  1. Open the job by clicking the job name
  2. In the menus at the left click configure button
  3. Now click the Build tab at the top
  4. Now replace "Automatics_Props_URL_Tobe_Added_here" this string with the actual automatics properties URL in the Goals text field under " Invoke top-level Maven targets " menu. More details on job configuration is available at Jenkins Job for Test Execution#2.ConfigureJenkinsJob)
CI_Api_Parser_RDKB_Utils
CI_Api_Parser_RDKV_Utils
CI_Api_Parser_Scriptless_Automation
JOB1
Deploy_Automatics_CoreConfigure your private repo(this is for storing the maven dependencies for automatics) along with maven deploy command under Build Section


  1. Refer Automatics Core : Jenkins Deployment Job configuration#ConfigureBuildSettings for more details to configure artifact repo url along with maven command



Deploy_RDKB_Utils
Deploy_RDKV_Utils
Deploy_RPi_Partner_Java_API

After completing the above set of configuration execute Jenkins Jobs in below order.

  1.  "CI_Automatics_Code_Deploy_And_3.0_Api_Parser"

...

  1. .  
    1. This job will build and deploy all the automatics dependencies to the repo and run the parsers needed for Automatics Scriptless automation (Automatics 3.0).

...

    1.  
  1.  "Deploy_RPi_Partner_Java_API"

...

    1.  This job will build and deploy rpi provider partner implementation.

Automatics Orchestration

System Configuration

...