How to install Maven using Jenkins Tools
Goto Jenkins dashboard, click on Manage Jenkins

Click on Tools

Scroll down, under Maven installations click on Add Maven
Enter the name maven-3.8.8 and under version choose 3.8.8 and click on Save
Maven will be automatically installed on the Jenkins server in the first build

🧠Quick Quiz — Global Tools¶
#
If you configure a specific Maven version (e.g., 3.8.8) in "Global Tool Configuration" and check "Install automatically", when does Jenkins install it?