DEV Community 👩‍💻👨‍💻

Cover image for Integrating Jenkins + Maven + GitHub
Kshitiz Saini
Kshitiz Saini

Posted on

Integrating Jenkins + Maven + GitHub

First of all we need to setup Jenkins in our device for that we can refer to the blog here.

Pre-Requisites

  • Jenkins installed and confiured on device.

Integrating Jenking with GitHub and Maven

1) First we need to launch Jenkins in our device using the specified IP and login to the Jenkins server using the credentials.

Alt Text

2) Create a new item and select the maven project and give it a name.

Alt Text

3) In the settings, we need to go to he Source Control Management option and select Git as our version control repository.

4) Enter the credentials of GitHub (if required) and the URL of the repo to work with.

Alt Text

5) Specify the pom file location.

6) Specify the maven goals to run.

Alt Text

7) Click on Save and Apply.

8) Run and test the build

Alt Text

Congratulations, you have integrated Jenkins with GitHub and Maven.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer by a factor of exactly 40.

It's a scientific fact.