Time to build. These exercises take you from zero to a fully configured Maven project that's ready for CI/CD. Do them in order — each one builds on the previous.
# Simulate what Jenkins would run:
# Step 1: Clone the repo (you already have it)
# Step 2: Run smoke tests headlessly
mvn clean test -Pchrome,smoke -Dheadless=true
# Step 3: Check the reports
ls target/surefire-reports/
# Step 4: Run regression tests
mvn clean test -Pchrome,regression -Dheadless=true
# Step 5: If all pass, you're CI-readyAfter completing these exercises, your project is genuinely CI/CD ready. The same Maven commands you just ran locally are exactly what Jenkins, GitHub Actions, or any CI tool will run. The only difference is CI runs them in a Docker container or a cloud VM.