(SOLVED) Maven not found in Jenkins

If you are running a Maven/Spring project in Jenkins and you are using the shell script option to run some maven command like : and you got this the build error : /Users/Shared/Jenkins/tmp/jenkins8087926087546049217.sh: line 3: mvn: command not found Try this solution : Import the maven path variable before execute the mvn command Read also […]