Jenkins Installation (Selenium Project Setup)
Why Install Jenkins for a Selenium Project?
Jenkins lets a Selenium WebDriver + TestNG + Maven test suite run automatically — on a schedule, after every code commit, or on demand — instead of relying on someone manually triggering it from Eclipse.
Installation Steps
- Ensure a compatible JDK is installed, since Jenkins itself runs on Java.
- Download Jenkins as a WAR file, native installer, or Docker image from the official Jenkins site.
- Start Jenkins (e.g.,
java -jar jenkins.war) and open it in a browser, typically athttp://localhost:8080. - Unlock Jenkins using the initial admin password shown in the console/log output.
- Install the "Suggested Plugins" set, then separately add the Maven Integration plugin needed for building Maven-based Selenium projects.
Why This Matters
Once installed, Jenkins becomes the automated entry point that pulls the Selenium project's code, builds it, runs the TestNG suite, and reports results — with no manual steps required.
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.
.png)