Versions Compared

Key

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

...

Automatics performs test execution in Jenkins. User can view the status of Jenkins execution from Job Manager page of Automatics Orchestration. 

Jenkins Setup

Steps to be taken care during Jenkins configuration

...

  • Configure Java 1.8 and Maven 3
  • Create jenkins job with name configured in Automatics Orchestration.

...

Configure Jenkins Job

...

  • From Jenkins select “New Item”, Specify name of the new job to be created. If we want to clone from existing job, we can give name of the existing job in the Copy from text box present in the bottom and select “OK”

Steps to be taken care during job configuration.

In General section

  • Check the “Discard old builds”.
  • Select Log Rotation and we can keep the days of build and Max # of builds.
  • Please configure following String build parameters in job.
    • filterTestIds, filterTestType, updateRdkPortal, settopList, JMD_ID, BUILD_NAME, executionMode, gr,grb, end_point
  • Under Source Code Management, Select GIT.
    • Specify Repository base url in the format 'ssh://{base_url}:{port}/${gr}', where the path of the repo is provided during test execution via the param 'gr'.
    • Add the branch specifier as '*/${grb}', where the repo branch is provided during test execution via the param 'grb'.
  • Under Pre Steps in Build section, please add below

...

Root Pom

...

pom.xml

...

for Test Execution

Automatics performs test execution in Jenkins. Below link provides details on configuring jenkins job for test execution.

Jenkins Job for Test Execution

Value of automatics.properties.url will be {automatics_properties_base_url}/automatics.properties

...