How to Run Selenium Tests from Jenkins CI

How to Run Selenium Tests from Jenkins CI

Automation Step by Step via YouTube Direct link

03:21 STEP 2 - Start jenkins using command java -jar jenkins.war --httpPort=8080

3 of 15

3 of 15

03:21 STEP 2 - Start jenkins using command java -jar jenkins.war --httpPort=8080

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

How to Run Selenium Tests from Jenkins CI

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 *TOPICS*
  2. 2 01:26 STEP 1 - Download Jenkins from jenkins.io
  3. 3 03:21 STEP 2 - Start jenkins using command java -jar jenkins.war --httpPort=8080
  4. 4 06:50 STEP 3 - Open browser and goto http://localhost:8080 and setup Jenkins
  5. 5 09:35 STEP 4 - Install Required Plugins in Jenkins
  6. 6 12:03 STEP 5 - Configure Java & Maven in Jenkins Manage Jenkins → Global Tool Configuration
  7. 7 14:41 STEP 6 - Verify using command java -version and mvn -version in a Jenkins job
  8. 8 18:45 Setting up Jenkins Job for Selenium Tests
  9. 9 18:54 STEP 1 - Go to Jenkins Dashboard → New Item and Create Freestyle Project
  10. 10 19:45 STEP 2 - Go to Source Code Management → Git Enter Repository URL
  11. 11 21:42 STEP 3 - Go to Triggers → Poll SCM Set schedule e.g H/5 * * * *
  12. 12 24:35 STEP 4 - Go to Build Steps → Invoke Top-Level Maven Targets Add Maven Goals clean test
  13. 13 25:28 STEP 5 - Go to Post-Build Actions
  14. 14 28:20 STEP 6 - Run Jenkins job manually and on push in Git Repo Try Test Result Analyzer plugin
  15. 15 40:30 STEP 7 - If post build actions do not run on test failure update Maven commands to

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.