Execute maven project using Jenkins
Setting Up a Jenkins Job
- Create a new "Freestyle project" or "Pipeline" job in Jenkins.
- Configure the source code location (e.g., a Git repository URL).
- Add a build step of type "Invoke top-level Maven targets" and specify goals like
clean test. - Save the job and click "Build Now" to run it.
Why This Matters
This setup lets Jenkins automatically pull the latest code, run the Maven-based TestNG/Rest Assured suite, and report results, without any manual steps from the tester.
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.
.png)