...
“partner.impl.powerProvider=true” - When set to true, Automatics expects Java based implementation of power provider and it should be configured in partner-applicationContext.xml against bean "powerProvider".
Jenkins
Automatics performs test execution in Jenkins. User can view the status of Jenkins execution from Job Manager page of Automatics. The final execution status will be updated back to Automatics.
Set up
Steps to be taken care during Jenkins configuration
- Install Jenkins
- Configure Java 1.8 and Maven 3
- Select Manage Jenkins and select Configure System
- Create jenkins job with name configured in Automatics orchestration.
Within job, 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 parameters
filterTestIds, filterTestType, updateRdkPortal, settopList, JMD_ID, BUILD_NAME, executionMode, gr,grb
- Under Source Code Management, Select GIT and specify Repository base url. During execution, the test project repository path and branch will be available from 'gr' and 'grb' parameters.
- Under Pre Steps in Build section, please add below
- In home directory, the path to be set up as Jenkins installed path in VM.
- Inside Maven Configuration, local maven repository to be set
- Inside Jenkins location, Jenkins URL and respective email address to be set.
- Under Global properties, we have to set the required list of environment variable.
1.2 Configuring Jenkins Job:
Steps to be taken care during job configuration.
- 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”
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 String parameters filterTestIds, filterTestType, updateRdkPortal, settopList, JMD_ID, BUILD_NAME, executionMode, gr,grb in job
- Under Source Code Management, Select GIT and specify Repository base url.
- Under Pre Steps in Build section, please add below
pom.xml | 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.url } |
- Click on Apply and Save button.
Automatics Orchestration - User Manual
...