Versions Compared

Key

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


Table of Contents


Jenkins Job for Scriptless Test Case

...

Goals 

clean install -U exec:java -Dmain.class=com.automatics.scriptless.safe.SmartDebugger -DskipTests=true -DretryByDefault=false -DbuildType=RDK -Dhttps.protocols=TLSv1.1,TLSv1.2

-Dsun.security.ssl.allowUnsafeRenegotiation=true -Dautomatics.properties.file={automatics_properties_base_url}/automatics.properties -Dproperties.file.token={Base 64 encrypted login id and password separated by colon }

...

Please configure following String build parameters in job.


Build Parameter

Description

filterTestIdsThe name of the test case
settopListMAC address of the device
executionModeThe execution environment like RDKB or RDKB
UXGive the default value as RDKM
grb
grThe
branch
repo name which will be used for cloning the project
filterTestTypeThe test type for the de
EXECUTION_IDThe execution id which comes for debugger service
serviceHost

The host name of the debugger service

end_point

Enter the default value as RACK_DEVICE


Add a Choise Parameter
.

Parameter Name

Description

grbThe branch name for the repo to cloned. Give rdk-next as the choice

Configure Source Code Management

...

    • Under Build section, please click on 'Add build step' and select option 'Invoke top-level Maven targets'. Then, add below maven command in Goals section
Goals 

clean install -U exec:java -DskipTests=true -DretryByDefault=false -DbuildType=RDK -Dhttps.protocols=TLSv1.1,TLSv1.2

-Dsun.security.ssl.allowUnsafeRenegotiation=true -Dautomatics.properties.file={automatics_properties_base_url}/automatics.properties -Dproperties.file.token={Base 64 encrypted login id and password separated by colon }

properties.file.token parameter is used to authenticate automatics properties. The token should be base 64 encrypted with login id and password separated by colon format.
example: admin:automatics when we encrypt it, the value will be YWRtaW46YXV0b21hdGljcw==

...