mvn: command not found

久未见 提交于 2019-12-06 05:47:10

You need to install Maven on the build agent executing the job. An alternative by Jenkins is that it can install Maven for you. This can be configured in the Global Tool Configuration of the Jenkins Master.

If you are really only allowed to modify the Jenkinsfile, you could first download and unpack maven into some local directory and then call it from there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!