Hello,
I am using a basic maven command mvn -v in a job unded execute batch command. I am getting an error while build "'mvn' is not recognized as an internal or external command,
operable program or batch file."Please help me to resolve this error.
I have completed maven installations in manage jenkins with name as MAVEN_HOME and path as C:\Users\sajit\Maven\apache-maven-3.9.4.
Also, please find the environment variables:
M2_HOME : C:\Users\sajit\Maven\apache-maven-3.9.4
MAVEN_BIN: MAVEN_BIN : %M2_HOME%\bin
MAVEN_HOME : %M2_HOME%
Kindly help.
Thanks,
Sajith M P