Versions Compared

Key

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

...

    • Click on Add Resource Details.
    • Enter the Jenkins resource base URL
    • Select the Category type from the dropdown (Select if jenkins is configured for RDKV or RDKB execution).
    • Maximum Parallel Jobs :- It represents the number of jobs configured in Jenkins for Automatics. It also requires, the configured jenkins jobs should have pre-defined name which is configurable from system property 'JOB_NAME_PREFIX'. For, eg: If "JOB_NAME_PREFIX" is set to AUTO_JOB, then in jenkins, jobs dedicated for Automatics execution should have names AUTO_JOB1, AUTO_JOB2, AUTO_JOB3 etc. Here, the Maximum Parallel Jobs configured is 10. So at a time Automatics can perform 10 job executions and remaining jobs will be in Queued state in Automatics waiting for free jenkins job.

Source Code Repository

            User can             Admin user has to configure source repository repositories of test project projects in Automatics . Test project repository path and branch are passed to jenkins during execution. Jenkins will clone the repository and execute the tests. It requires user to add details from database.

...

Orchestration. 

 User can update source repo details via DB. UI support is not available now.

Source Repo Configuration for RDKB

Following are the source repository details to be configured for RDKB. Please execute following SQL Queries.

Configure generic core tests 

insert into source_code_details (NAME, CATEGORY_TYPE, SOURCE_REPO, SOURCE_BRANCH, DELETED_DATE, UPDATED_BY, UPDATED_DATE) values ('

...

RDKB_CORE_TESTS', '

...

RDKB', 'generic-automation-tests', 'rdk-next', 'NULL',  'admin', now());

...

Configure RDKB tests 

insert into source_code_details (NAME, CATEGORY_TYPE, SOURCE_REPO, SOURCE_BRANCH, DELETED_DATE, UPDATED_BY, UPDATED_DATE) values ('RDKB_TESTS', 'RDKB', 'rdkb-tests', 'rdk-next', 'NULL',  'admin', now());

Source Repo Configuration for RDKV

Following are the source repository details to be configured for RDKV. Please execute following SQL Queries.

Configure generic core tests 

insert into source_code_details (NAME, CATEGORY_TYPE, SOURCE_REPO, SOURCE_BRANCH, DELETED_DATE, UPDATED_BY, UPDATED_DATE) values ('RDKV_CORE_TESTS', 'RDKV', 'generic-automation-tests', 'rdk-next', 'NULL',  'admin', now());+-------------+-----------------+---------------+---------------------------------------------+---------------+--------------+------------+---------------------+
| SRC_DTLS_ID | NAME            | CATEGORY_TYPE | SOURCE_REPO                                 | SOURCE_BRANCH | DELETED_DATE | UPDATED_BY | UPDATED_DATE       
+-------------+-----------------+---------------+---------------------------------------------+---------------+--------------+------------+---------------------+
|           1 |       RDKV_Core_Tests | RDKV          | generic-automation-tests                    | rdk-next      | NULL         | admin      | 2021-09-15 11:05:27 |
|           2 |       RDKB_Core_Tests  | RDKB          | generic-automation-tests                    | rdk-next      | NULL         | admin      | 2021-10-19 11:05:27 |
|           3 |       RDKB_TESTS         | RDKB          | rdkb-tests                                             | rdk-next      | NULL         | admin      | 2021-01-13 11:05:27 |
+-------------+-----------------+---------------+---------------------------------------------+---------------+--------------+------------+---------------------+

 Job Settings

  • From Automatics UI, navigate to Settings ->  Job Settings

...