Go to Manage Jenkins | Global Tool Configuration.
We have already installed Maven on our machine. So enter a name for the Maven installation and the M2_HOME path as follows:
Let's configure our Jenkins job to build our sample project:
- Click on create new jobs:
- Create a Jenkins job with the Maven plugin. Provide the job name devops-ci-cd (you can choose another project name, if you want):
- In the ...