🔹 Till Now:
In Part-1, we successfully installed and configured Git, Java, Maven, and Jenkins on our local Windows system. Now, in Part-2, we will:
- Set up Maven in Jenkins.
- Create a Maven Project using both the command line and Jenkins.
- Schedule builds in Jenkins.
- Configure Source Code Polling to automate builds when code changes in GitHub.
Let’s get started! 🚀
Configuring JENKINS & MAVEN ⇒
Before creating a Maven job in Jenkins, we need to configure Jenkins to recognize Maven. Follow these steps:
Step 1: Log in to Jenkins
- Open Google Chrome.
- Go to localhost:8080.
- Enter your Jenkins login credentials.
Step 2: Install Required Jenkins Plugins
- Go to Manage Jenkins (on the left sidebar).
- Click on Manage Plugins.