When jenkins tries to build my program, the jenkins build fails with the error mvn
is not recognized as internal or external command. Here is what jenkins runs :
cmd.exe /C "mvn -f spring-boot-samples\spring-boot-sample-atmosphere\pom.xml compile && exit %%ERRORLEVEL%%"
Maven is correctly set in my computer, when I execute the previous command manually from the jenkins workspace, the build works perfectly and the jar file is generated
Seems that jenkins needs his one environment variable ?
Thank you, regards