1. Install maven

Download the software package from the server and install it.

2. How to configure Jenkins to use environment variables

Go to the Jenkins Web page, open the configuration page, and find the “Global Properties – Environment Variables” setting.

Note: When configuring PATH, write PATH+EXTRA

image.png

reference

Blog.csdn.net/zhangcongyi…