6
DevOps Continuous Integration Automation Eclipse -> Selenium - Git - > Jenkins

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

Embed Size (px)

Citation preview

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

DevOps – Continuous Integration Automation

Eclipse -> Selenium - Git -> Jenkins

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

Continuous Testing

Continuous Deployment

Continuous Monitoring

DevOps

Continuous Integration

Continuous Development

Continuous Feedback

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

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 ->

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

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 ->

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

Jenkins -> Eclipse

Run the maven build job in Jenkins from Eclipse.