DevOps CI Automation : Eclipse -> Selenium -> Git -> Jenkins

Preview:

Citation preview

DevOps – Continuous Integration Automation

Eclipse -> Selenium - Git -> Jenkins

Continuous Testing

Continuous Deployment

Continuous Monitoring

DevOps

Continuous Integration

Continuous Development

Continuous Feedback

Eclipse -> SeleniumCreate a maven project in Eclipse -> Create a simple project -> update group ID & artifact ID -> add a package into the project -> add a class into the package->

Update selenium & TestNG dependencies in POM xml file -> Add maven build plugins in POM xml -> Convert the class created in earlier step into a TestNG.xml file -> Save the TestNG.xml file into src/main/resource folder -> Update the location of TestNG file in POM xml under surefire plugin ->

Selenium -> Git -> JenkinsSave the selenium project into a Git repository -> Commit file and folder structure of the project into Git repository -> Make sure Jenkins user have read & write access to this Git repository -> If required clean the repository by running maven clean job with appropriate access ->Create a maven job in Jenkins -> Update the Git repository url in the job configuration -> Update the location of pom.xml file in job configuration -> Save the maven build job ->

Jenkins -> Eclipse

Run the maven build job in Jenkins from Eclipse.

Recommended