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 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/653af6b1-55d9-479a-87c8-6dd6be58c849n%40googlegroups.com.