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